@syncfusion/ej2-navigations 19.4.56 → 20.1.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/CHANGELOG.md +53 -2
  2. package/README.md +16 -1
  3. package/carousel.d.ts +4 -0
  4. package/carousel.js +4 -0
  5. package/dist/ej2-navigations.umd.min.js +2 -2
  6. package/dist/ej2-navigations.umd.min.js.map +1 -1
  7. package/dist/es6/ej2-navigations.es2015.js +1065 -30
  8. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  9. package/dist/es6/ej2-navigations.es5.js +1106 -33
  10. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  11. package/dist/global/ej2-navigations.min.js +2 -2
  12. package/dist/global/ej2-navigations.min.js.map +1 -1
  13. package/dist/global/index.d.ts +1 -1
  14. package/package.json +11 -11
  15. package/src/accordion/accordion.js +11 -3
  16. package/src/breadcrumb/breadcrumb.js +6 -0
  17. package/src/carousel/carousel-model.d.ts +227 -0
  18. package/src/carousel/carousel.d.ts +338 -0
  19. package/src/carousel/carousel.js +988 -0
  20. package/src/carousel/index.d.ts +3 -0
  21. package/src/carousel/index.js +2 -0
  22. package/src/common/h-scroll.js +5 -3
  23. package/src/common/menu-base.js +11 -13
  24. package/src/index.d.ts +1 -0
  25. package/src/index.js +1 -0
  26. package/src/tab/tab-model.d.ts +1 -1
  27. package/src/tab/tab.js +72 -11
  28. package/src/toolbar/toolbar.js +11 -0
  29. package/src/treeview/treeview.js +5 -2
  30. package/styles/accordion/_bootstrap-dark-definition.scss +4 -4
  31. package/styles/accordion/_bootstrap-definition.scss +4 -4
  32. package/styles/accordion/_bootstrap4-definition.scss +4 -4
  33. package/styles/accordion/_bootstrap5-definition.scss +10 -10
  34. package/styles/accordion/_fabric-dark-definition.scss +9 -9
  35. package/styles/accordion/_fabric-definition.scss +9 -9
  36. package/styles/accordion/_fluent-dark-definition.scss +1 -0
  37. package/styles/accordion/_fluent-definition.scss +10 -10
  38. package/styles/accordion/_highcontrast-definition.scss +8 -8
  39. package/styles/accordion/_highcontrast-light-definition.scss +8 -8
  40. package/styles/accordion/_layout.scss +56 -86
  41. package/styles/accordion/_material-dark-definition.scss +8 -8
  42. package/styles/accordion/_material-definition.scss +8 -8
  43. package/styles/accordion/_tailwind-definition.scss +10 -10
  44. package/styles/accordion/_theme.scss +14 -1
  45. package/styles/accordion/bootstrap-dark.css +48 -63
  46. package/styles/accordion/bootstrap.css +48 -63
  47. package/styles/accordion/bootstrap4.css +48 -63
  48. package/styles/accordion/bootstrap5-dark.css +51 -66
  49. package/styles/accordion/bootstrap5.css +51 -66
  50. package/styles/accordion/fabric-dark.css +50 -65
  51. package/styles/accordion/fabric.css +50 -65
  52. package/styles/accordion/fluent-dark.css +395 -0
  53. package/styles/accordion/fluent-dark.scss +4 -0
  54. package/styles/accordion/fluent.css +395 -0
  55. package/styles/accordion/fluent.scss +4 -0
  56. package/styles/accordion/highcontrast-light.css +49 -64
  57. package/styles/accordion/highcontrast.css +49 -64
  58. package/styles/accordion/icons/_fluent-dark.scss +1 -0
  59. package/styles/accordion/icons/_fluent.scss +2 -1
  60. package/styles/accordion/icons/_tailwind.scss +2 -1
  61. package/styles/accordion/material-dark.css +49 -64
  62. package/styles/accordion/material.css +49 -64
  63. package/styles/accordion/tailwind-dark.css +52 -67
  64. package/styles/accordion/tailwind.css +52 -67
  65. package/styles/bootstrap-dark.css +309 -68
  66. package/styles/bootstrap-dark.scss +1 -0
  67. package/styles/bootstrap.css +309 -68
  68. package/styles/bootstrap.scss +1 -0
  69. package/styles/bootstrap4.css +309 -68
  70. package/styles/bootstrap4.scss +1 -0
  71. package/styles/bootstrap5-dark.css +414 -170
  72. package/styles/bootstrap5-dark.scss +1 -0
  73. package/styles/bootstrap5.css +414 -170
  74. package/styles/bootstrap5.scss +1 -0
  75. package/styles/breadcrumb/_bootstrap5-definition.scss +2 -2
  76. package/styles/breadcrumb/_fluent-dark-definition.scss +1 -0
  77. package/styles/breadcrumb/_fluent-definition.scss +4 -1
  78. package/styles/breadcrumb/_layout.scss +42 -5
  79. package/styles/breadcrumb/_tailwind-dark-definition.scss +1 -60
  80. package/styles/breadcrumb/_tailwind-definition.scss +2 -2
  81. package/styles/breadcrumb/_theme.scss +11 -5
  82. package/styles/breadcrumb/bootstrap-dark.css +9 -1
  83. package/styles/breadcrumb/bootstrap.css +9 -1
  84. package/styles/breadcrumb/bootstrap4.css +9 -1
  85. package/styles/breadcrumb/bootstrap5-dark.css +11 -3
  86. package/styles/breadcrumb/bootstrap5.css +11 -3
  87. package/styles/breadcrumb/fabric-dark.css +9 -3
  88. package/styles/breadcrumb/fabric.css +9 -3
  89. package/styles/breadcrumb/fluent-dark.css +444 -0
  90. package/styles/breadcrumb/fluent-dark.scss +4 -0
  91. package/styles/breadcrumb/fluent.css +444 -0
  92. package/styles/breadcrumb/fluent.scss +4 -0
  93. package/styles/breadcrumb/highcontrast-light.css +9 -3
  94. package/styles/breadcrumb/highcontrast.css +9 -3
  95. package/styles/breadcrumb/icons/_fluent-dark.scss +1 -0
  96. package/styles/breadcrumb/icons/_fluent.scss +4 -4
  97. package/styles/breadcrumb/icons/_tailwind-dark.scss +13 -2
  98. package/styles/breadcrumb/icons/_tailwind.scss +13 -2
  99. package/styles/breadcrumb/material-dark.css +9 -1
  100. package/styles/breadcrumb/material.css +9 -1
  101. package/styles/breadcrumb/tailwind-dark.css +27 -10
  102. package/styles/breadcrumb/tailwind.css +26 -9
  103. package/styles/carousel/_all.scss +2 -0
  104. package/styles/carousel/_bootstrap-dark-definition.scss +22 -0
  105. package/styles/carousel/_bootstrap-definition.scss +22 -0
  106. package/styles/carousel/_bootstrap4-definition.scss +22 -0
  107. package/styles/carousel/_bootstrap5-dark-definition.scss +1 -0
  108. package/styles/carousel/_bootstrap5-definition.scss +22 -0
  109. package/styles/carousel/_fabric-dark-definition.scss +22 -0
  110. package/styles/carousel/_fabric-definition.scss +22 -0
  111. package/styles/carousel/_fluent-dark-definition.scss +1 -0
  112. package/styles/carousel/_fluent-definition.scss +22 -0
  113. package/styles/carousel/_highcontrast-definition.scss +22 -0
  114. package/styles/carousel/_highcontrast-light-definition.scss +22 -0
  115. package/styles/carousel/_layout.scss +150 -0
  116. package/styles/carousel/_material-dark-definition.scss +22 -0
  117. package/styles/carousel/_material-definition.scss +22 -0
  118. package/styles/carousel/_tailwind-dark-definition.scss +1 -0
  119. package/styles/carousel/_tailwind-definition.scss +22 -0
  120. package/styles/carousel/_theme.scss +56 -0
  121. package/styles/carousel/bootstrap-dark.css +236 -0
  122. package/styles/carousel/bootstrap-dark.scss +5 -0
  123. package/styles/carousel/bootstrap.css +236 -0
  124. package/styles/carousel/bootstrap.scss +5 -0
  125. package/styles/carousel/bootstrap4.css +236 -0
  126. package/styles/carousel/bootstrap4.scss +5 -0
  127. package/styles/carousel/bootstrap5-dark.css +236 -0
  128. package/styles/carousel/bootstrap5-dark.scss +5 -0
  129. package/styles/carousel/bootstrap5.css +236 -0
  130. package/styles/carousel/bootstrap5.scss +5 -0
  131. package/styles/carousel/fabric-dark.css +236 -0
  132. package/styles/carousel/fabric-dark.scss +5 -0
  133. package/styles/carousel/fabric.css +236 -0
  134. package/styles/carousel/fabric.scss +5 -0
  135. package/styles/carousel/fluent-dark.css +236 -0
  136. package/styles/carousel/fluent-dark.scss +5 -0
  137. package/styles/carousel/fluent.css +236 -0
  138. package/styles/carousel/fluent.scss +5 -0
  139. package/styles/carousel/highcontrast-light.css +236 -0
  140. package/styles/carousel/highcontrast-light.scss +5 -0
  141. package/styles/carousel/highcontrast.css +236 -0
  142. package/styles/carousel/highcontrast.scss +5 -0
  143. package/styles/carousel/icons/_bootstrap-dark.scss +30 -0
  144. package/styles/carousel/icons/_bootstrap.scss +30 -0
  145. package/styles/carousel/icons/_bootstrap4.scss +30 -0
  146. package/styles/carousel/icons/_bootstrap5-dark.scss +1 -0
  147. package/styles/carousel/icons/_bootstrap5.scss +30 -0
  148. package/styles/carousel/icons/_fabric-dark.scss +30 -0
  149. package/styles/carousel/icons/_fabric.scss +30 -0
  150. package/styles/carousel/icons/_fluent-dark.scss +1 -0
  151. package/styles/carousel/icons/_fluent.scss +30 -0
  152. package/styles/carousel/icons/_highcontrast-light.scss +30 -0
  153. package/styles/carousel/icons/_highcontrast.scss +30 -0
  154. package/styles/carousel/icons/_material-dark.scss +30 -0
  155. package/styles/carousel/icons/_material.scss +30 -0
  156. package/styles/carousel/icons/_tailwind-dark.scss +1 -0
  157. package/styles/carousel/icons/_tailwind.scss +30 -0
  158. package/styles/carousel/material-dark.css +237 -0
  159. package/styles/carousel/material-dark.scss +5 -0
  160. package/styles/carousel/material.css +237 -0
  161. package/styles/carousel/material.scss +5 -0
  162. package/styles/carousel/tailwind-dark.css +237 -0
  163. package/styles/carousel/tailwind-dark.scss +5 -0
  164. package/styles/carousel/tailwind.css +237 -0
  165. package/styles/carousel/tailwind.scss +5 -0
  166. package/styles/context-menu/_bootstrap5-definition.scss +2 -2
  167. package/styles/context-menu/_fluent-dark-definition.scss +1 -0
  168. package/styles/context-menu/_fluent-definition.scss +10 -10
  169. package/styles/context-menu/_layout-mixin.scss +3 -0
  170. package/styles/context-menu/_layout.scss +11 -1
  171. package/styles/context-menu/_tailwind-definition.scss +2 -1
  172. package/styles/context-menu/bootstrap-dark.css +5 -0
  173. package/styles/context-menu/bootstrap.css +5 -0
  174. package/styles/context-menu/bootstrap4.css +5 -0
  175. package/styles/context-menu/bootstrap5-dark.css +16 -8
  176. package/styles/context-menu/bootstrap5.css +16 -8
  177. package/styles/context-menu/fabric-dark.css +5 -0
  178. package/styles/context-menu/fabric.css +5 -0
  179. package/styles/context-menu/fluent-dark.css +388 -0
  180. package/styles/context-menu/fluent-dark.scss +4 -0
  181. package/styles/context-menu/fluent.css +388 -0
  182. package/styles/context-menu/fluent.scss +4 -0
  183. package/styles/context-menu/highcontrast-light.css +5 -0
  184. package/styles/context-menu/highcontrast.css +5 -0
  185. package/styles/context-menu/icons/_fluent-dark.scss +1 -0
  186. package/styles/context-menu/icons/_fluent.scss +3 -3
  187. package/styles/context-menu/icons/_tailwind-dark.scss +3 -3
  188. package/styles/context-menu/icons/_tailwind.scss +3 -3
  189. package/styles/context-menu/material-dark.css +5 -0
  190. package/styles/context-menu/material.css +5 -0
  191. package/styles/context-menu/tailwind-dark.css +11 -4
  192. package/styles/context-menu/tailwind.css +11 -4
  193. package/styles/fabric-dark.css +311 -72
  194. package/styles/fabric-dark.scss +1 -0
  195. package/styles/fabric.css +311 -72
  196. package/styles/fabric.scss +1 -0
  197. package/styles/fluent-dark.css +10263 -0
  198. package/styles/fluent-dark.scss +11 -0
  199. package/styles/fluent.css +10263 -0
  200. package/styles/fluent.scss +11 -0
  201. package/styles/h-scroll/_bootstrap5-definition.scss +3 -3
  202. package/styles/h-scroll/_fluent-dark-definition.scss +1 -0
  203. package/styles/h-scroll/_layout.scss +0 -1
  204. package/styles/h-scroll/_material-dark-definition.scss +3 -3
  205. package/styles/h-scroll/bootstrap-dark.css +0 -1
  206. package/styles/h-scroll/bootstrap.css +0 -1
  207. package/styles/h-scroll/bootstrap4.css +0 -1
  208. package/styles/h-scroll/bootstrap5-dark.css +10 -11
  209. package/styles/h-scroll/bootstrap5.css +10 -11
  210. package/styles/h-scroll/fabric-dark.css +0 -1
  211. package/styles/h-scroll/fabric.css +0 -1
  212. package/styles/h-scroll/fluent-dark.css +326 -0
  213. package/styles/h-scroll/fluent-dark.scss +4 -0
  214. package/styles/h-scroll/fluent.css +326 -0
  215. package/styles/h-scroll/fluent.scss +4 -0
  216. package/styles/h-scroll/highcontrast-light.css +0 -1
  217. package/styles/h-scroll/highcontrast.css +0 -1
  218. package/styles/h-scroll/icons/_fluent-dark.scss +1 -0
  219. package/styles/h-scroll/icons/_fluent.scss +9 -9
  220. package/styles/h-scroll/icons/_tailwind.scss +8 -8
  221. package/styles/h-scroll/material-dark.css +3 -4
  222. package/styles/h-scroll/material.css +0 -1
  223. package/styles/h-scroll/tailwind-dark.css +8 -9
  224. package/styles/h-scroll/tailwind.css +8 -9
  225. package/styles/highcontrast-light.css +310 -71
  226. package/styles/highcontrast-light.scss +1 -0
  227. package/styles/highcontrast.css +311 -72
  228. package/styles/highcontrast.scss +1 -0
  229. package/styles/material-dark.css +313 -72
  230. package/styles/material-dark.scss +1 -0
  231. package/styles/material.css +310 -69
  232. package/styles/material.scss +1 -0
  233. package/styles/menu/_bootstrap5-definition.scss +4 -5
  234. package/styles/menu/_fluent-dark-definition.scss +1 -0
  235. package/styles/menu/_fluent-definition.scss +9 -9
  236. package/styles/menu/_layout.scss +8 -4
  237. package/styles/menu/_tailwind-definition.scss +1 -0
  238. package/styles/menu/_theme.scss +9 -0
  239. package/styles/menu/bootstrap-dark.css +1 -2
  240. package/styles/menu/bootstrap.css +1 -2
  241. package/styles/menu/bootstrap4.css +1 -2
  242. package/styles/menu/bootstrap5-dark.css +23 -24
  243. package/styles/menu/bootstrap5.css +23 -24
  244. package/styles/menu/fabric-dark.css +1 -2
  245. package/styles/menu/fabric.css +1 -2
  246. package/styles/menu/fluent-dark.css +1261 -0
  247. package/styles/menu/fluent-dark.scss +8 -0
  248. package/styles/menu/fluent.css +1261 -0
  249. package/styles/menu/fluent.scss +8 -0
  250. package/styles/menu/highcontrast-light.css +1 -2
  251. package/styles/menu/highcontrast.css +1 -2
  252. package/styles/menu/icons/_fluent-dark.scss +1 -0
  253. package/styles/menu/icons/_fluent.scss +14 -14
  254. package/styles/menu/icons/_tailwind-dark.scss +14 -14
  255. package/styles/menu/icons/_tailwind.scss +15 -15
  256. package/styles/menu/material-dark.css +1 -2
  257. package/styles/menu/material.css +1 -2
  258. package/styles/menu/tailwind-dark.css +18 -18
  259. package/styles/menu/tailwind.css +18 -18
  260. package/styles/sidebar/_fluent-dark-definition.scss +1 -0
  261. package/styles/sidebar/_theme.scss +5 -0
  262. package/styles/sidebar/bootstrap-dark.css +4 -0
  263. package/styles/sidebar/bootstrap.css +4 -0
  264. package/styles/sidebar/bootstrap4.css +4 -0
  265. package/styles/sidebar/bootstrap5-dark.css +4 -0
  266. package/styles/sidebar/bootstrap5.css +4 -0
  267. package/styles/sidebar/fabric-dark.css +4 -0
  268. package/styles/sidebar/fabric.css +4 -0
  269. package/styles/sidebar/fluent-dark.css +158 -0
  270. package/styles/sidebar/fluent-dark.scss +3 -0
  271. package/styles/sidebar/fluent.css +158 -0
  272. package/styles/sidebar/fluent.scss +3 -0
  273. package/styles/sidebar/highcontrast-light.css +4 -0
  274. package/styles/sidebar/highcontrast.css +4 -0
  275. package/styles/sidebar/material-dark.css +4 -0
  276. package/styles/sidebar/material.css +4 -0
  277. package/styles/sidebar/tailwind-dark.css +4 -0
  278. package/styles/sidebar/tailwind.css +4 -0
  279. package/styles/tab/_bootstrap5-definition.scss +7 -7
  280. package/styles/tab/_fluent-dark-definition.scss +1 -0
  281. package/styles/tab/_fluent-definition.scss +20 -20
  282. package/styles/tab/_highcontrast-definition.scss +1 -1
  283. package/styles/tab/_layout.scss +68 -12
  284. package/styles/tab/_tailwind-definition.scss +7 -7
  285. package/styles/tab/_theme.scss +12 -6
  286. package/styles/tab/bootstrap-dark.css +1 -1
  287. package/styles/tab/bootstrap.css +1 -1
  288. package/styles/tab/bootstrap4.css +1 -1
  289. package/styles/tab/bootstrap5-dark.css +23 -23
  290. package/styles/tab/bootstrap5.css +23 -23
  291. package/styles/tab/fabric-dark.css +1 -1
  292. package/styles/tab/fabric.css +1 -1
  293. package/styles/tab/fluent-dark.css +4394 -0
  294. package/styles/tab/fluent-dark.scss +5 -0
  295. package/styles/tab/fluent.css +4394 -0
  296. package/styles/tab/fluent.scss +5 -0
  297. package/styles/tab/highcontrast-light.css +1 -1
  298. package/styles/tab/highcontrast.css +2 -2
  299. package/styles/tab/icons/_fluent-dark.scss +1 -0
  300. package/styles/tab/icons/_fluent.scss +19 -18
  301. package/styles/tab/icons/_tailwind.scss +19 -18
  302. package/styles/tab/material-dark.css +1 -1
  303. package/styles/tab/material.css +1 -1
  304. package/styles/tab/tailwind-dark.css +43 -45
  305. package/styles/tab/tailwind.css +43 -45
  306. package/styles/tailwind-dark.css +428 -177
  307. package/styles/tailwind-dark.scss +1 -0
  308. package/styles/tailwind.css +427 -176
  309. package/styles/tailwind.scss +1 -0
  310. package/styles/toolbar/_bootstrap-dark-definition.scss +1 -0
  311. package/styles/toolbar/_bootstrap-definition.scss +1 -0
  312. package/styles/toolbar/_bootstrap4-definition.scss +1 -0
  313. package/styles/toolbar/_bootstrap5-definition.scss +12 -11
  314. package/styles/toolbar/_fabric-dark-definition.scss +1 -0
  315. package/styles/toolbar/_fabric-definition.scss +1 -0
  316. package/styles/toolbar/_fluent-dark-definition.scss +1 -0
  317. package/styles/toolbar/_fluent-definition.scss +14 -13
  318. package/styles/toolbar/_highcontrast-definition.scss +1 -0
  319. package/styles/toolbar/_highcontrast-light-definition.scss +1 -0
  320. package/styles/toolbar/_layout.scss +13 -5
  321. package/styles/toolbar/_material-dark-definition.scss +1 -0
  322. package/styles/toolbar/_material-definition.scss +1 -0
  323. package/styles/toolbar/_tailwind-definition.scss +4 -3
  324. package/styles/toolbar/_theme.scss +5 -1
  325. package/styles/toolbar/bootstrap-dark.css +4 -0
  326. package/styles/toolbar/bootstrap.css +4 -0
  327. package/styles/toolbar/bootstrap4.css +4 -0
  328. package/styles/toolbar/bootstrap5-dark.css +35 -31
  329. package/styles/toolbar/bootstrap5.css +35 -31
  330. package/styles/toolbar/fabric-dark.css +4 -0
  331. package/styles/toolbar/fabric.css +4 -0
  332. package/styles/toolbar/fluent-dark.css +1365 -0
  333. package/styles/toolbar/fluent-dark.scss +8 -0
  334. package/styles/toolbar/fluent.css +1365 -0
  335. package/styles/toolbar/fluent.scss +8 -0
  336. package/styles/toolbar/highcontrast-light.css +4 -0
  337. package/styles/toolbar/highcontrast.css +4 -0
  338. package/styles/toolbar/icons/_fluent-dark.scss +1 -0
  339. package/styles/toolbar/icons/_fluent.scss +3 -2
  340. package/styles/toolbar/icons/_tailwind.scss +3 -2
  341. package/styles/toolbar/material-dark.css +4 -0
  342. package/styles/toolbar/material.css +4 -0
  343. package/styles/toolbar/tailwind-dark.css +10 -6
  344. package/styles/toolbar/tailwind.css +10 -6
  345. package/styles/treeview/_bootstrap5-definition.scss +2 -2
  346. package/styles/treeview/_fluent-dark-definition.scss +1 -0
  347. package/styles/treeview/_fluent-definition.scss +2 -2
  348. package/styles/treeview/_layout.scss +8 -3
  349. package/styles/treeview/_tailwind-definition.scss +5 -5
  350. package/styles/treeview/bootstrap5-dark.css +4 -4
  351. package/styles/treeview/bootstrap5.css +4 -4
  352. package/styles/treeview/fluent-dark.css +1039 -0
  353. package/styles/treeview/fluent-dark.scss +6 -0
  354. package/styles/treeview/fluent.css +1039 -0
  355. package/styles/treeview/fluent.scss +6 -0
  356. package/styles/treeview/icons/_fluent-dark.scss +1 -0
  357. package/styles/treeview/icons/_fluent.scss +5 -5
  358. package/styles/treeview/icons/_tailwind-dark.scss +5 -5
  359. package/styles/treeview/icons/_tailwind.scss +5 -5
  360. package/styles/treeview/tailwind-dark.css +13 -14
  361. package/styles/treeview/tailwind.css +13 -14
  362. package/styles/v-scroll/_fluent-dark-definition.scss +1 -0
  363. package/styles/v-scroll/fluent-dark.css +247 -0
  364. package/styles/v-scroll/fluent-dark.scss +4 -0
  365. package/styles/v-scroll/fluent.css +247 -0
  366. package/styles/v-scroll/fluent.scss +4 -0
  367. package/styles/v-scroll/icons/_fluent-dark.scss +1 -0
  368. package/styles/v-scroll/icons/_fluent.scss +5 -4
  369. package/styles/v-scroll/icons/_tailwind.scss +5 -4
  370. package/styles/v-scroll/tailwind-dark.css +4 -4
  371. package/styles/v-scroll/tailwind.css +4 -4
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.4.56
3
+ * version : 20.1.51
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@19.4.55",
3
+ "_id": "@syncfusion/ej2-navigations@20.1.48",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-OQu9sMOeqG7OdXte/hNLWUfeSjoNgMV7IEz3p1UZzUGtYylXYT+myET7Ukgc7bPGAhBr8Zy8sT5ItEba6iV20w==",
5
+ "_integrity": "sha512-H3R/hxCrlqznF1FsCc7FkePBLLvqh7Qlrjd4tIfByrnCmYM+VkkPYa4g7iaL2/LmkSP3j5OEHykqjxSr4FrulA==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -37,8 +37,8 @@
37
37
  "/@syncfusion/ej2-spreadsheet",
38
38
  "/@syncfusion/ej2-vue-navigations"
39
39
  ],
40
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-19.4.55.tgz",
41
- "_shasum": "7f8aefd3568612b94f47564dc6a642c088ee14c4",
40
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.1.48.tgz",
41
+ "_shasum": "b1a3b45369f91ea03e1d727104e8c4a0e8d5cc44",
42
42
  "_spec": "@syncfusion/ej2-navigations@*",
43
43
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
44
44
  "author": {
@@ -49,12 +49,12 @@
49
49
  },
50
50
  "bundleDependencies": false,
51
51
  "dependencies": {
52
- "@syncfusion/ej2-base": "~19.4.52",
53
- "@syncfusion/ej2-buttons": "~19.4.55",
54
- "@syncfusion/ej2-data": "~19.4.54",
55
- "@syncfusion/ej2-inputs": "~19.4.52",
56
- "@syncfusion/ej2-lists": "~19.4.55",
57
- "@syncfusion/ej2-popups": "~19.4.53"
52
+ "@syncfusion/ej2-base": "~20.1.50",
53
+ "@syncfusion/ej2-buttons": "~20.1.50",
54
+ "@syncfusion/ej2-data": "~20.1.47",
55
+ "@syncfusion/ej2-inputs": "~20.1.48",
56
+ "@syncfusion/ej2-lists": "~20.1.47",
57
+ "@syncfusion/ej2-popups": "~20.1.47"
58
58
  },
59
59
  "deprecated": false,
60
60
  "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",
@@ -159,6 +159,6 @@
159
159
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
160
160
  },
161
161
  "typings": "index.d.ts",
162
- "version": "19.4.56",
162
+ "version": "20.1.51",
163
163
  "sideEffects": false
164
164
  }
@@ -194,9 +194,11 @@ var Accordion = /** @class */ (function (_super) {
194
194
  if (!this.isDestroy) {
195
195
  this.isDestroy = false;
196
196
  }
197
- if (!isNOU(nested)) {
198
- nested.classList.add(CLS_NEST);
199
- this.isNested = true;
197
+ if (nested && nested.firstElementChild && nested.firstElementChild.firstElementChild) {
198
+ if (nested.firstElementChild.firstElementChild.classList.contains(CLS_ROOT)) {
199
+ nested.classList.add(CLS_NEST);
200
+ this.isNested = true;
201
+ }
200
202
  }
201
203
  else {
202
204
  this.element.classList.add(CLS_ACRDN_ROOT);
@@ -285,6 +287,9 @@ var Accordion = /** @class */ (function (_super) {
285
287
  if (document.querySelectorAll(template).length) {
286
288
  return templateCompiler(document.querySelector(template).innerHTML.trim());
287
289
  }
290
+ else {
291
+ return templateCompiler(template);
292
+ }
288
293
  }
289
294
  catch (error) {
290
295
  return templateCompiler(template);
@@ -652,6 +657,9 @@ var Accordion = /** @class */ (function (_super) {
652
657
  ele.appendChild(eleVal);
653
658
  eleVal.style.display = '';
654
659
  }
660
+ else {
661
+ templateFn = templateCompiler(value);
662
+ }
655
663
  }
656
664
  catch (e) {
657
665
  if (typeof (value) === 'string') {
@@ -379,6 +379,12 @@ var Breadcrumb = /** @class */ (function (_super) {
379
379
  }
380
380
  if (!(this.overflowMode === 'Menu' && liElems[i].classList.contains(MENUCLASS))) {
381
381
  liWidth += liElems[i].offsetWidth;
382
+ if (liWidth > width) {
383
+ maxItems = Math.ceil((i) / 2) + (this.overflowMode === 'Menu' && i <= 2 ? 0 : 1);
384
+ this._maxItems = maxItems;
385
+ this.initPvtProps();
386
+ return this.reRenderItems();
387
+ }
382
388
  }
383
389
  }
384
390
  }
@@ -0,0 +1,227 @@
1
+ import { Component, EventHandler, Collection, Property, Event, EmitType, formatUnit, INotifyPropertyChanged, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { ChildProperty, addClass, removeClass, setStyleAttribute, attributes, getUniqueID, compile, Complex, getInstance, L10n } from '@syncfusion/ej2-base';import { append, closest, isNullOrUndefined, remove, classList, Touch, SwipeEventArgs, KeyboardEvents, KeyboardEventArgs, BaseEventArgs } from '@syncfusion/ej2-base';import { Button } from '@syncfusion/ej2-buttons';
2
+ import {CarouselAnimationEffect,CarouselButtonVisibility,SlideChangingEventArgs,SlideChangedEventArgs} from "./carousel";
3
+ import {ComponentModel} from '@syncfusion/ej2-base';
4
+
5
+ /**
6
+ * Interface for a class CarouselItem
7
+ */
8
+ export interface CarouselItemModel {
9
+
10
+ /**
11
+ * Accepts single/multiple classes (separated by a space) to be used for individual carousel item customization.
12
+ *
13
+ * @default null
14
+ */
15
+ cssClass?: string;
16
+
17
+ /**
18
+ * Accepts the interval duration in milliseconds for individual carousel item transition.
19
+ *
20
+ * @default null
21
+ */
22
+ interval?: number;
23
+
24
+ /**
25
+ * Accepts the template for individual carousel item.
26
+ *
27
+ * @default null
28
+ */
29
+ template?: string;
30
+
31
+ /**
32
+ * Accepts HTML attributes/custom attributes to add in individual carousel item.
33
+ *
34
+ * @default null
35
+ */
36
+ htmlAttributes?: Record<string, string>;
37
+
38
+ }
39
+
40
+ /**
41
+ * Interface for a class CarouselAnimationSettings
42
+ */
43
+ export interface CarouselAnimationSettingsModel {
44
+
45
+ /**
46
+ * Specifies the type of animation. The possible values for this property as follows
47
+ * * None
48
+ * * Slide
49
+ * * Fade
50
+ *
51
+ * @default 'Slide'
52
+ */
53
+ effect?: CarouselAnimationEffect;
54
+
55
+ /**
56
+ * Specifies the custom animation effect.
57
+ *
58
+ * @default null
59
+ */
60
+ customEffect?: string;
61
+
62
+ }
63
+
64
+ /**
65
+ * Interface for a class Carousel
66
+ */
67
+ export interface CarouselModel extends ComponentModel{
68
+
69
+ /**
70
+ * Allows defining the collection of carousel item to be displayed on the Carousel.
71
+ *
72
+ * @default []
73
+ */
74
+ items?: CarouselItemModel[];
75
+
76
+ /**
77
+ * Specifies the animation setting for the carousel component.
78
+ *
79
+ * @default { effect: 'Slide', customEffect: null }
80
+ */
81
+ animation?: CarouselAnimationSettingsModel;
82
+
83
+ /**
84
+ * Accepts the template for previous navigation button.
85
+ *
86
+ * @default null
87
+ */
88
+ previousButtonTemplate?: string;
89
+
90
+ /**
91
+ * Accepts the template for next navigation button.
92
+ *
93
+ * @default null
94
+ */
95
+ nextButtonTemplate?: string;
96
+
97
+ /**
98
+ * Accepts the template for indicator buttons.
99
+ *
100
+ * @default null
101
+ */
102
+ indicatorsTemplate?: string;
103
+
104
+ /**
105
+ * Accepts the template for play/pause button.
106
+ *
107
+ * @default null
108
+ */
109
+ playButtonTemplate?: string;
110
+
111
+ /**
112
+ * Accepts single/multiple classes (separated by a space) to be used for carousel customization.
113
+ *
114
+ * @default null
115
+ */
116
+ cssClass?: string;
117
+
118
+ /**
119
+ * Specifies the datasource for the carousel items.
120
+ *
121
+ * @isdatamanager false
122
+ * @default []
123
+ */
124
+ dataSource?: Record<string, any>[];
125
+
126
+ /**
127
+ * Specifies the template option for carousel items.
128
+ *
129
+ * @default null
130
+ */
131
+ itemTemplate?: string;
132
+
133
+ /**
134
+ * Specifies index of the current carousel item.
135
+ *
136
+ * @default 0
137
+ */
138
+ selectedIndex?: number;
139
+
140
+ /**
141
+ * Specifies the width of the Carousel in pixels/number/percentage. The number value is considered as pixels.
142
+ *
143
+ * @default '100%'
144
+ */
145
+ width?: string | number;
146
+
147
+ /**
148
+ * Specifies the height of the Carousel in pixels/number/percentage. The number value is considered as pixels.
149
+ *
150
+ * @default '100%'
151
+ */
152
+ height?: string | number;
153
+
154
+ /**
155
+ * Specifies the interval duration in milliseconds for carousel item transition.
156
+ *
157
+ * @default 5000
158
+ */
159
+ interval?: number;
160
+
161
+ /**
162
+ * Defines whether the slide transition is automatic or manual.
163
+ *
164
+ * @default true
165
+ */
166
+ autoPlay?: boolean;
167
+
168
+ /**
169
+ * Defines whether the slide transitions loop end or not. When set to false, the transition stops at last slide.
170
+ *
171
+ * @default true
172
+ */
173
+ loop?: boolean;
174
+
175
+ /**
176
+ * Defines whether to show play button or not.
177
+ *
178
+ * @default false
179
+ */
180
+ showPlayButton?: boolean;
181
+
182
+ /**
183
+ * Defines whether to enable swipe action in touch devices or not.
184
+ *
185
+ * @default true
186
+ */
187
+ enableTouchSwipe?: boolean;
188
+
189
+ /**
190
+ * Defines whether to show the indicator positions or not. The indicator positions allow to know the current slide position of the carousel component.
191
+ *
192
+ * @default true
193
+ */
194
+ showIndicators?: boolean;
195
+
196
+ /**
197
+ * Defines how to show the previous, next and play pause buttons visibility. The possible values for this property as follows
198
+ * * Hidden
199
+ * * Visible
200
+ * * VisibleOnHover
201
+ *
202
+ * @default 'Visible'
203
+ */
204
+ buttonsVisibility?: CarouselButtonVisibility;
205
+
206
+ /**
207
+ * Accepts HTML attributes/custom attributes to add in individual carousel item.
208
+ *
209
+ * @default null
210
+ */
211
+ htmlAttributes?: Record<string, string>;
212
+
213
+ /**
214
+ * The event will be fired before the slide change.
215
+ *
216
+ * @event slideChanging
217
+ */
218
+ slideChanging?: EmitType<SlideChangingEventArgs>;
219
+
220
+ /**
221
+ * The event will be fired after the slide changed.
222
+ *
223
+ * @event slideChanged
224
+ */
225
+ slideChanged?: EmitType<SlideChangedEventArgs>;
226
+
227
+ }
@@ -0,0 +1,338 @@
1
+ import { Component, EmitType, INotifyPropertyChanged } from '@syncfusion/ej2-base';
2
+ import { ChildProperty } from '@syncfusion/ej2-base';
3
+ import { BaseEventArgs } from '@syncfusion/ej2-base';
4
+ import { CarouselModel, CarouselItemModel, CarouselAnimationSettingsModel } from './carousel-model';
5
+ /**
6
+ * Specifies the direction of previous/next button navigations in carousel.
7
+ *
8
+ * * `Previous` - To determine the previous direction of carousel item transition.
9
+ * * `Next` - To determine the next direction of carousel item transition.
10
+ */
11
+ export declare type CarouselSlideDirection = 'Previous' | 'Next';
12
+ /**
13
+ * Specifies the state of navigation buttons displayed in carousel.
14
+ *
15
+ * * `Hidden` - Navigation buttons are hidden.
16
+ * * `Visible` - Navigation buttons are visible.
17
+ * * `VisibleOnHover` - Navigation buttons are visible only when we hover the carousel.
18
+ */
19
+ export declare type CarouselButtonVisibility = 'Hidden' | 'Visible' | 'VisibleOnHover';
20
+ /**
21
+ * Specifies the animation effects of carousel slide.
22
+ *
23
+ * * `None` - The carousel item transition happens without animation.
24
+ * * `Slide` - The carousel item transition happens with slide animation.
25
+ * * `Fade` - The Carousel item transition happens with fade animation.
26
+ */
27
+ export declare type CarouselAnimationEffect = 'None' | 'Fade' | 'Slide';
28
+ /** An interface that holds details when changing the slide. */
29
+ export interface SlideChangingEventArgs extends BaseEventArgs {
30
+ /** Specifies the index of current slide. */
31
+ currentIndex: number;
32
+ /** Specifies the element of current slide. */
33
+ currentSlide: HTMLElement;
34
+ /** Specifies the index of slide to be changed. */
35
+ nextIndex: number;
36
+ /** Specifies the element of slide to be changed. */
37
+ nextSlide: HTMLElement;
38
+ /** Specifies whether the slide transition occur through swiping or not. */
39
+ isSwiped: boolean;
40
+ /** Specifies the slide direction in which transition occurs. */
41
+ slideDirection: CarouselSlideDirection;
42
+ /** Specifies whether the slide transition should occur or not. */
43
+ cancel: boolean;
44
+ }
45
+ /** An interface that holds details once slide change done. */
46
+ export interface SlideChangedEventArgs extends BaseEventArgs {
47
+ /** Specifies the index of current slide. */
48
+ currentIndex: number;
49
+ /** Specifies the element of current slide. */
50
+ currentSlide: HTMLElement;
51
+ /** Specifies the index of slide from which it changed. */
52
+ previousIndex: number;
53
+ /** Specifies the element of slide from which it changed. */
54
+ previousSlide: HTMLElement;
55
+ /** Specifies whether the slide transition done through swiping or not. */
56
+ isSwiped: boolean;
57
+ /** Specifies the slide direction in which transition occurred. */
58
+ slideDirection: CarouselSlideDirection;
59
+ }
60
+ /** Specifies the carousel individual item. */
61
+ export declare class CarouselItem extends ChildProperty<CarouselItem> {
62
+ /**
63
+ * Accepts single/multiple classes (separated by a space) to be used for individual carousel item customization.
64
+ *
65
+ * @default null
66
+ */
67
+ cssClass: string;
68
+ /**
69
+ * Accepts the interval duration in milliseconds for individual carousel item transition.
70
+ *
71
+ * @default null
72
+ */
73
+ interval: number;
74
+ /**
75
+ * Accepts the template for individual carousel item.
76
+ *
77
+ * @default null
78
+ */
79
+ template: string;
80
+ /**
81
+ * Accepts HTML attributes/custom attributes to add in individual carousel item.
82
+ *
83
+ * @default null
84
+ */
85
+ htmlAttributes: Record<string, string>;
86
+ }
87
+ /** Specifies the animation configuration for carousel items. */
88
+ export declare class CarouselAnimationSettings extends ChildProperty<CarouselAnimationSettings> {
89
+ /**
90
+ * Specifies the type of animation. The possible values for this property as follows
91
+ * * None
92
+ * * Slide
93
+ * * Fade
94
+ *
95
+ * @default 'Slide'
96
+ */
97
+ effect: CarouselAnimationEffect;
98
+ /**
99
+ * Specifies the custom animation effect.
100
+ *
101
+ * @default null
102
+ */
103
+ customEffect: string;
104
+ }
105
+ export declare class Carousel extends Component<HTMLElement> implements INotifyPropertyChanged {
106
+ private autoSlideInterval;
107
+ private slideItems;
108
+ private touchModule;
109
+ private keyModule;
110
+ private keyConfigs;
111
+ private slideChangedEventArgs;
112
+ private localeObj;
113
+ /**
114
+ * Allows defining the collection of carousel item to be displayed on the Carousel.
115
+ *
116
+ * @default []
117
+ */
118
+ items: CarouselItemModel[];
119
+ /**
120
+ * Specifies the animation setting for the carousel component.
121
+ *
122
+ * @default { effect: 'Slide', customEffect: null }
123
+ */
124
+ animation: CarouselAnimationSettingsModel;
125
+ /**
126
+ * Accepts the template for previous navigation button.
127
+ *
128
+ * @default null
129
+ */
130
+ previousButtonTemplate: string;
131
+ /**
132
+ * Accepts the template for next navigation button.
133
+ *
134
+ * @default null
135
+ */
136
+ nextButtonTemplate: string;
137
+ /**
138
+ * Accepts the template for indicator buttons.
139
+ *
140
+ * @default null
141
+ */
142
+ indicatorsTemplate: string;
143
+ /**
144
+ * Accepts the template for play/pause button.
145
+ *
146
+ * @default null
147
+ */
148
+ playButtonTemplate: string;
149
+ /**
150
+ * Accepts single/multiple classes (separated by a space) to be used for carousel customization.
151
+ *
152
+ * @default null
153
+ */
154
+ cssClass: string;
155
+ /**
156
+ * Specifies the datasource for the carousel items.
157
+ *
158
+ * @isdatamanager false
159
+ * @default []
160
+ */
161
+ dataSource: Record<string, any>[];
162
+ /**
163
+ * Specifies the template option for carousel items.
164
+ *
165
+ * @default null
166
+ */
167
+ itemTemplate: string;
168
+ /**
169
+ * Specifies index of the current carousel item.
170
+ *
171
+ * @default 0
172
+ */
173
+ selectedIndex: number;
174
+ /**
175
+ * Specifies the width of the Carousel in pixels/number/percentage. The number value is considered as pixels.
176
+ *
177
+ * @default '100%'
178
+ */
179
+ width: string | number;
180
+ /**
181
+ * Specifies the height of the Carousel in pixels/number/percentage. The number value is considered as pixels.
182
+ *
183
+ * @default '100%'
184
+ */
185
+ height: string | number;
186
+ /**
187
+ * Specifies the interval duration in milliseconds for carousel item transition.
188
+ *
189
+ * @default 5000
190
+ */
191
+ interval: number;
192
+ /**
193
+ * Defines whether the slide transition is automatic or manual.
194
+ *
195
+ * @default true
196
+ */
197
+ autoPlay: boolean;
198
+ /**
199
+ * Defines whether the slide transitions loop end or not. When set to false, the transition stops at last slide.
200
+ *
201
+ * @default true
202
+ */
203
+ loop: boolean;
204
+ /**
205
+ * Defines whether to show play button or not.
206
+ *
207
+ * @default false
208
+ */
209
+ showPlayButton: boolean;
210
+ /**
211
+ * Defines whether to enable swipe action in touch devices or not.
212
+ *
213
+ * @default true
214
+ */
215
+ enableTouchSwipe: boolean;
216
+ /**
217
+ * Defines whether to show the indicator positions or not. The indicator positions allow to know the current slide position of the carousel component.
218
+ *
219
+ * @default true
220
+ */
221
+ showIndicators: boolean;
222
+ /**
223
+ * Defines how to show the previous, next and play pause buttons visibility. The possible values for this property as follows
224
+ * * Hidden
225
+ * * Visible
226
+ * * VisibleOnHover
227
+ *
228
+ * @default 'Visible'
229
+ */
230
+ buttonsVisibility: CarouselButtonVisibility;
231
+ /**
232
+ * Accepts HTML attributes/custom attributes to add in individual carousel item.
233
+ *
234
+ * @default null
235
+ */
236
+ htmlAttributes: Record<string, string>;
237
+ /**
238
+ * The event will be fired before the slide change.
239
+ *
240
+ * @event slideChanging
241
+ */
242
+ slideChanging: EmitType<SlideChangingEventArgs>;
243
+ /**
244
+ * The event will be fired after the slide changed.
245
+ *
246
+ * @event slideChanged
247
+ */
248
+ slideChanged: EmitType<SlideChangedEventArgs>;
249
+ /**
250
+ * Constructor for creating the Carousel widget
251
+ *
252
+ * @param {CarouselModel} options Accepts the carousel model properties to initiate the rendering
253
+ * @param {string | HTMLElement} element Accepts the DOM element reference
254
+ */
255
+ constructor(options?: CarouselModel, element?: string | HTMLElement);
256
+ protected getModuleName(): string;
257
+ protected getPersistData(): string;
258
+ protected preRender(): void;
259
+ protected render(): void;
260
+ onPropertyChanged(newProp: CarouselModel, oldProp: CarouselModel): void;
261
+ private initialize;
262
+ private renderSlides;
263
+ private renderSlide;
264
+ private renderNavigators;
265
+ private renderNavigatorButton;
266
+ private renderPlayButton;
267
+ private renderIndicators;
268
+ private renderKeyboardActions;
269
+ private renderTouchActions;
270
+ private applyAnimation;
271
+ private autoSlide;
272
+ private autoSlideChange;
273
+ private applySlideInterval;
274
+ private resetSlideInterval;
275
+ private getSlideIndex;
276
+ private setActiveSlide;
277
+ private onTransitionEnd;
278
+ private setHtmlAttributes;
279
+ private templateParser;
280
+ private getNavigatorState;
281
+ private navigatorClickHandler;
282
+ private indicatorClickHandler;
283
+ private playButtonClickHandler;
284
+ private keyHandler;
285
+ private swipeHandler;
286
+ private isSuspendSlideTransition;
287
+ private handleNavigatorsActions;
288
+ private onHoverActions;
289
+ private onFocusActions;
290
+ private destroyButtons;
291
+ private wireEvents;
292
+ private unWireEvents;
293
+ /**
294
+ * Method to transit from the current slide to the previous slide.
295
+ *
296
+ * @returns {void}
297
+ */
298
+ prev(): void;
299
+ /**
300
+ * Method to transit from the current slide to the next slide.
301
+ *
302
+ * @returns {void}
303
+ */
304
+ next(): void;
305
+ /**
306
+ * Method to play the slides programmatically.
307
+ *
308
+ * @returns {void}
309
+ */
310
+ play(): void;
311
+ /**
312
+ * Method to pause the slides programmatically.
313
+ *
314
+ * @returns {void}
315
+ */
316
+ pause(): void;
317
+ /**
318
+ * Method to render react and angular templates
319
+ *
320
+ * @returns {void}
321
+ * @private
322
+ */
323
+ private renderTemplates;
324
+ /**
325
+ * Method to reset react and angular templates
326
+ *
327
+ * @param {string[]} templates Accepts the template ID
328
+ * @returns {void}
329
+ * @private
330
+ */
331
+ private resetTemplates;
332
+ /**
333
+ * Method for destroy the carousel component.
334
+ *
335
+ * @returns {void}
336
+ */
337
+ destroy(): void;
338
+ }