@syncfusion/ej2-navigations 16.4.45 → 16.4.52-46585
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.
- package/.eslintrc.json +259 -0
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +63 -0
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +39 -0
- package/CHANGELOG.md +1421 -0
- package/README.md +226 -112
- package/appbar.d.ts +4 -0
- package/appbar.js +4 -0
- package/breadcrumb.d.ts +4 -0
- package/breadcrumb.js +4 -0
- package/carousel.d.ts +4 -0
- package/carousel.js +4 -0
- package/dist/ej2-navigations.min.js +1 -0
- package/dist/ej2-navigations.umd.min.js +1 -10
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +8469 -2261
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +8157 -1833
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +1 -10
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/helpers/e2e/accordionHelper.d.ts +56 -0
- package/helpers/e2e/accordionHelper.js +71 -0
- package/helpers/e2e/contextmenuHelper.d.ts +37 -0
- package/helpers/e2e/contextmenuHelper.js +53 -0
- package/helpers/e2e/index.d.ts +7 -0
- package/helpers/e2e/index.js +14 -0
- package/helpers/e2e/menuHelper.d.ts +37 -0
- package/helpers/e2e/menuHelper.js +53 -0
- package/helpers/e2e/sidebarHelper.d.ts +94 -0
- package/helpers/e2e/sidebarHelper.js +110 -0
- package/helpers/e2e/tabHelper.d.ts +60 -0
- package/helpers/e2e/tabHelper.js +74 -0
- package/helpers/e2e/toolbarHelper.d.ts +60 -0
- package/helpers/e2e/toolbarHelper.js +74 -0
- package/helpers/e2e/treeview.d.ts +50 -0
- package/helpers/e2e/treeview.js +80 -0
- package/package.json +105 -105
- package/src/accordion/accordion-model.d.ts +122 -45
- package/src/accordion/accordion.d.ts +169 -48
- package/src/accordion/accordion.js +530 -230
- package/src/appbar/appbar-model.d.ts +76 -0
- package/src/appbar/appbar.d.ts +115 -0
- package/src/appbar/appbar.js +220 -0
- package/src/appbar/index.d.ts +3 -0
- package/src/appbar/index.js +2 -0
- package/src/breadcrumb/breadcrumb-model.d.ts +161 -0
- package/src/breadcrumb/breadcrumb.d.ts +285 -0
- package/src/breadcrumb/breadcrumb.js +789 -0
- package/src/breadcrumb/index.d.ts +5 -0
- package/src/breadcrumb/index.js +4 -0
- package/src/carousel/carousel-model.d.ts +223 -0
- package/src/carousel/carousel.d.ts +344 -0
- package/src/carousel/carousel.js +1100 -0
- package/src/carousel/index.d.ts +3 -0
- package/src/carousel/index.js +2 -0
- package/src/common/h-scroll-model.d.ts +1 -0
- package/src/common/h-scroll.d.ts +21 -10
- package/src/common/h-scroll.js +58 -36
- package/src/common/index.d.ts +2 -0
- package/src/common/index.js +2 -0
- package/src/common/menu-base-model.d.ts +77 -22
- package/src/common/menu-base.d.ts +192 -41
- package/src/common/menu-base.js +1104 -366
- package/src/common/menu-scroll.d.ts +29 -0
- package/src/common/menu-scroll.js +103 -0
- package/src/common/v-scroll-model.d.ts +1 -0
- package/src/common/v-scroll.d.ts +20 -9
- package/src/common/v-scroll.js +47 -20
- package/src/context-menu/context-menu-model.d.ts +7 -3
- package/src/context-menu/context-menu.d.ts +25 -10
- package/src/context-menu/context-menu.js +27 -15
- package/src/index.d.ts +3 -0
- package/src/index.js +3 -0
- package/src/menu/menu-model.d.ts +34 -1
- package/src/menu/menu.d.ts +60 -6
- package/src/menu/menu.js +144 -18
- package/src/sidebar/sidebar-model.d.ts +54 -25
- package/src/sidebar/sidebar.d.ts +117 -22
- package/src/sidebar/sidebar.js +250 -120
- package/src/tab/tab-model.d.ts +156 -37
- package/src/tab/tab.d.ts +286 -61
- package/src/tab/tab.js +1136 -331
- package/src/toolbar/toolbar-model.d.ts +110 -29
- package/src/toolbar/toolbar.d.ts +185 -55
- package/src/toolbar/toolbar.js +595 -234
- package/src/treeview/treeview-model.d.ts +269 -83
- package/src/treeview/treeview.d.ts +497 -74
- package/src/treeview/treeview.js +2006 -409
- package/styles/accordion/_all.scss +0 -1
- package/styles/accordion/_bootstrap-dark-definition.scss +171 -67
- package/styles/accordion/_bootstrap-definition.scss +115 -11
- package/styles/accordion/_bootstrap4-definition.scss +182 -0
- package/styles/accordion/_bootstrap5-dark-definition.scss +1 -0
- package/styles/accordion/_bootstrap5-definition.scss +180 -0
- package/styles/accordion/_fabric-dark-definition.scss +171 -69
- package/styles/accordion/_fabric-definition.scss +119 -15
- package/styles/accordion/_fluent-dark-definition.scss +1 -0
- package/styles/accordion/_fluent-definition.scss +179 -0
- package/styles/accordion/_fusionnew-definition.scss +180 -0
- package/styles/accordion/_highcontrast-definition.scss +122 -23
- package/styles/accordion/_highcontrast-light-definition.scss +192 -95
- package/styles/accordion/_layout.scss +100 -162
- package/styles/accordion/_material-dark-definition.scss +173 -70
- package/styles/accordion/_material-definition.scss +115 -11
- package/styles/accordion/_tailwind-dark-definition.scss +1 -0
- package/styles/accordion/_tailwind-definition.scss +178 -0
- package/styles/accordion/_theme.scss +219 -224
- package/styles/accordion/bootstrap-dark.css +267 -181
- package/styles/accordion/bootstrap-dark.scss +1 -0
- package/styles/accordion/bootstrap.css +258 -172
- package/styles/accordion/bootstrap.scss +1 -0
- package/styles/accordion/bootstrap4.css +525 -0
- package/styles/accordion/bootstrap4.scss +4 -0
- package/styles/accordion/bootstrap5-dark.css +527 -0
- package/styles/accordion/bootstrap5-dark.scss +4 -0
- package/styles/accordion/bootstrap5.css +527 -0
- package/styles/accordion/bootstrap5.scss +4 -0
- package/styles/accordion/fabric-dark.css +266 -164
- package/styles/accordion/fabric-dark.scss +1 -0
- package/styles/accordion/fabric.css +266 -164
- package/styles/accordion/fabric.scss +1 -0
- package/styles/accordion/fluent-dark.css +526 -0
- package/styles/accordion/fluent-dark.scss +4 -0
- package/styles/accordion/fluent.css +526 -0
- package/styles/accordion/fluent.scss +4 -0
- package/styles/accordion/highcontrast-light.css +525 -0
- package/styles/accordion/highcontrast-light.scss +4 -0
- package/styles/accordion/highcontrast.css +243 -232
- package/styles/accordion/highcontrast.scss +1 -0
- package/styles/accordion/{_icons.scss → icons/_bootstrap-dark.scss} +3 -3
- package/styles/accordion/icons/_bootstrap.scss +17 -0
- package/styles/accordion/icons/_bootstrap4.scss +17 -0
- package/styles/accordion/icons/_bootstrap5-dark.scss +1 -0
- package/styles/accordion/icons/_bootstrap5.scss +17 -0
- package/styles/accordion/icons/_fabric-dark.scss +17 -0
- package/styles/accordion/icons/_fabric.scss +17 -0
- package/styles/accordion/icons/_fluent-dark.scss +1 -0
- package/styles/accordion/icons/_fluent.scss +17 -0
- package/styles/accordion/icons/_fusionnew.scss +17 -0
- package/styles/accordion/icons/_highcontrast-light.scss +17 -0
- package/styles/accordion/icons/_highcontrast.scss +17 -0
- package/styles/accordion/icons/_material-dark.scss +17 -0
- package/styles/accordion/icons/_material.scss +17 -0
- package/styles/accordion/icons/_material3.scss +17 -0
- package/styles/accordion/icons/_tailwind-dark.scss +1 -0
- package/styles/accordion/icons/_tailwind.scss +17 -0
- package/styles/accordion/material-dark.css +268 -173
- package/styles/accordion/material-dark.scss +1 -0
- package/styles/accordion/material.css +264 -169
- package/styles/accordion/material.scss +1 -0
- package/styles/accordion/tailwind-dark.css +527 -0
- package/styles/accordion/tailwind-dark.scss +4 -0
- package/styles/accordion/tailwind.css +527 -0
- package/styles/accordion/tailwind.scss +4 -0
- package/styles/appbar/_all.scss +2 -0
- package/styles/appbar/_bootstrap-dark-definition.scss +8 -0
- package/styles/appbar/_bootstrap-definition.scss +8 -0
- package/styles/appbar/_bootstrap4-definition.scss +8 -0
- package/styles/appbar/_bootstrap5-dark-definition.scss +1 -0
- package/styles/appbar/_bootstrap5-definition.scss +8 -0
- package/styles/appbar/_fabric-dark-definition.scss +8 -0
- package/styles/appbar/_fabric-definition.scss +8 -0
- package/styles/appbar/_fluent-dark-definition.scss +1 -0
- package/styles/appbar/_fluent-definition.scss +8 -0
- package/styles/appbar/_fusionnew-definition.scss +8 -0
- package/styles/appbar/_highcontrast-definition.scss +8 -0
- package/styles/appbar/_highcontrast-light-definition.scss +8 -0
- package/styles/appbar/_layout.scss +84 -0
- package/styles/appbar/_material-dark-definition.scss +8 -0
- package/styles/appbar/_material-definition.scss +8 -0
- package/styles/appbar/_tailwind-dark-definition.scss +1 -0
- package/styles/appbar/_tailwind-definition.scss +8 -0
- package/styles/appbar/_theme.scss +208 -0
- package/styles/appbar/bootstrap-dark.css +247 -0
- package/styles/appbar/bootstrap-dark.scss +3 -0
- package/styles/appbar/bootstrap.css +247 -0
- package/styles/appbar/bootstrap.scss +3 -0
- package/styles/appbar/bootstrap4.css +247 -0
- package/styles/appbar/bootstrap4.scss +3 -0
- package/styles/appbar/bootstrap5-dark.css +247 -0
- package/styles/appbar/bootstrap5-dark.scss +3 -0
- package/styles/appbar/bootstrap5.css +247 -0
- package/styles/appbar/bootstrap5.scss +3 -0
- package/styles/appbar/fabric-dark.css +247 -0
- package/styles/appbar/fabric-dark.scss +3 -0
- package/styles/appbar/fabric.css +247 -0
- package/styles/appbar/fabric.scss +3 -0
- package/styles/appbar/fluent-dark.css +247 -0
- package/styles/appbar/fluent-dark.scss +3 -0
- package/styles/appbar/fluent.css +247 -0
- package/styles/appbar/fluent.scss +3 -0
- package/styles/appbar/highcontrast-light.css +247 -0
- package/styles/appbar/highcontrast-light.scss +3 -0
- package/styles/appbar/highcontrast.css +247 -0
- package/styles/appbar/highcontrast.scss +3 -0
- package/styles/appbar/material-dark.css +248 -0
- package/styles/appbar/material-dark.scss +3 -0
- package/styles/appbar/material.css +248 -0
- package/styles/appbar/material.scss +3 -0
- package/styles/appbar/tailwind-dark.css +248 -0
- package/styles/appbar/tailwind-dark.scss +3 -0
- package/styles/appbar/tailwind.css +248 -0
- package/styles/appbar/tailwind.scss +3 -0
- package/styles/bootstrap-dark.css +5503 -3478
- package/styles/bootstrap-dark.scss +4 -0
- package/styles/bootstrap.css +5420 -3550
- package/styles/bootstrap.scss +4 -0
- package/styles/bootstrap4.css +10166 -0
- package/styles/bootstrap4.scss +13 -0
- package/styles/bootstrap5-dark.css +10207 -0
- package/styles/bootstrap5-dark.scss +13 -0
- package/styles/bootstrap5.css +10207 -0
- package/styles/bootstrap5.scss +13 -0
- package/styles/breadcrumb/_all.scss +3 -0
- package/styles/breadcrumb/_bootstrap-dark-definition.scss +54 -0
- package/styles/breadcrumb/_bootstrap-definition.scss +54 -0
- package/styles/breadcrumb/_bootstrap4-definition.scss +54 -0
- package/styles/breadcrumb/_bootstrap5-dark-definition.scss +1 -0
- package/styles/breadcrumb/_bootstrap5-definition.scss +59 -0
- package/styles/breadcrumb/_fabric-dark-definition.scss +59 -0
- package/styles/breadcrumb/_fabric-definition.scss +59 -0
- package/styles/breadcrumb/_fluent-dark-definition.scss +1 -0
- package/styles/breadcrumb/_fluent-definition.scss +62 -0
- package/styles/breadcrumb/_fusionnew-definition.scss +59 -0
- package/styles/breadcrumb/_highcontrast-definition.scss +61 -0
- package/styles/breadcrumb/_highcontrast-light-definition.scss +61 -0
- package/styles/breadcrumb/_layout.scss +491 -0
- package/styles/breadcrumb/_material-dark-definition.scss +50 -0
- package/styles/breadcrumb/_material-definition.scss +50 -0
- package/styles/breadcrumb/_tailwind-dark-definition.scss +1 -0
- package/styles/breadcrumb/_tailwind-definition.scss +60 -0
- package/styles/breadcrumb/_theme.scss +176 -0
- package/styles/breadcrumb/bootstrap-dark.css +395 -0
- package/styles/breadcrumb/bootstrap-dark.scss +4 -0
- package/styles/breadcrumb/bootstrap.css +395 -0
- package/styles/breadcrumb/bootstrap.scss +4 -0
- package/styles/breadcrumb/bootstrap4.css +395 -0
- package/styles/breadcrumb/bootstrap4.scss +4 -0
- package/styles/breadcrumb/bootstrap5-dark.css +409 -0
- package/styles/breadcrumb/bootstrap5-dark.scss +4 -0
- package/styles/breadcrumb/bootstrap5.css +409 -0
- package/styles/breadcrumb/bootstrap5.scss +4 -0
- package/styles/breadcrumb/fabric-dark.css +395 -0
- package/styles/breadcrumb/fabric-dark.scss +4 -0
- package/styles/breadcrumb/fabric.css +395 -0
- package/styles/breadcrumb/fabric.scss +4 -0
- package/styles/breadcrumb/fluent-dark.css +371 -0
- package/styles/breadcrumb/fluent-dark.scss +4 -0
- package/styles/breadcrumb/fluent.css +371 -0
- package/styles/breadcrumb/fluent.scss +4 -0
- package/styles/breadcrumb/highcontrast-light.css +402 -0
- package/styles/breadcrumb/highcontrast-light.scss +4 -0
- package/styles/breadcrumb/highcontrast.css +402 -0
- package/styles/breadcrumb/highcontrast.scss +4 -0
- package/styles/breadcrumb/icons/_bootstrap-dark.scss +14 -0
- package/styles/breadcrumb/icons/_bootstrap.scss +14 -0
- package/styles/breadcrumb/icons/_bootstrap4.scss +14 -0
- package/styles/breadcrumb/icons/_bootstrap5-dark.scss +1 -0
- package/styles/breadcrumb/icons/_bootstrap5.scss +25 -0
- package/styles/breadcrumb/icons/_fabric-dark.scss +14 -0
- package/styles/breadcrumb/icons/_fabric.scss +14 -0
- package/styles/breadcrumb/icons/_fluent-dark.scss +1 -0
- package/styles/breadcrumb/icons/_fluent.scss +25 -0
- package/styles/breadcrumb/icons/_fusionnew.scss +25 -0
- package/styles/breadcrumb/icons/_highcontrast-light.scss +14 -0
- package/styles/breadcrumb/icons/_highcontrast.scss +14 -0
- package/styles/breadcrumb/icons/_material-dark.scss +25 -0
- package/styles/breadcrumb/icons/_material.scss +25 -0
- package/styles/breadcrumb/icons/_material3.scss +25 -0
- package/styles/breadcrumb/icons/_tailwind-dark.scss +25 -0
- package/styles/breadcrumb/icons/_tailwind.scss +25 -0
- package/styles/breadcrumb/material-dark.css +379 -0
- package/styles/breadcrumb/material-dark.scss +4 -0
- package/styles/breadcrumb/material.css +379 -0
- package/styles/breadcrumb/material.scss +4 -0
- package/styles/breadcrumb/tailwind-dark.css +402 -0
- package/styles/breadcrumb/tailwind-dark.scss +4 -0
- package/styles/breadcrumb/tailwind.css +402 -0
- package/styles/breadcrumb/tailwind.scss +4 -0
- package/styles/carousel/_all.scss +2 -0
- package/styles/carousel/_bootstrap-dark-definition.scss +22 -0
- package/styles/carousel/_bootstrap-definition.scss +22 -0
- package/styles/carousel/_bootstrap4-definition.scss +22 -0
- package/styles/carousel/_bootstrap5-dark-definition.scss +1 -0
- package/styles/carousel/_bootstrap5-definition.scss +22 -0
- package/styles/carousel/_fabric-dark-definition.scss +22 -0
- package/styles/carousel/_fabric-definition.scss +22 -0
- package/styles/carousel/_fluent-dark-definition.scss +1 -0
- package/styles/carousel/_fluent-definition.scss +22 -0
- package/styles/carousel/_fusionnew-definition.scss +22 -0
- package/styles/carousel/_highcontrast-definition.scss +22 -0
- package/styles/carousel/_highcontrast-light-definition.scss +22 -0
- package/styles/carousel/_layout.scss +225 -0
- package/styles/carousel/_material-dark-definition.scss +22 -0
- package/styles/carousel/_material-definition.scss +22 -0
- package/styles/carousel/_tailwind-dark-definition.scss +1 -0
- package/styles/carousel/_tailwind-definition.scss +22 -0
- package/styles/carousel/_theme.scss +56 -0
- package/styles/carousel/bootstrap-dark.css +264 -0
- package/styles/carousel/bootstrap-dark.scss +5 -0
- package/styles/carousel/bootstrap.css +264 -0
- package/styles/carousel/bootstrap.scss +5 -0
- package/styles/carousel/bootstrap4.css +264 -0
- package/styles/carousel/bootstrap4.scss +5 -0
- package/styles/carousel/bootstrap5-dark.css +264 -0
- package/styles/carousel/bootstrap5-dark.scss +5 -0
- package/styles/carousel/bootstrap5.css +264 -0
- package/styles/carousel/bootstrap5.scss +5 -0
- package/styles/carousel/fabric-dark.css +264 -0
- package/styles/carousel/fabric-dark.scss +5 -0
- package/styles/carousel/fabric.css +264 -0
- package/styles/carousel/fabric.scss +5 -0
- package/styles/carousel/fluent-dark.css +264 -0
- package/styles/carousel/fluent-dark.scss +5 -0
- package/styles/carousel/fluent.css +264 -0
- package/styles/carousel/fluent.scss +5 -0
- package/styles/carousel/highcontrast-light.css +264 -0
- package/styles/carousel/highcontrast-light.scss +5 -0
- package/styles/carousel/highcontrast.css +264 -0
- package/styles/carousel/highcontrast.scss +5 -0
- package/styles/carousel/icons/_bootstrap-dark.scss +30 -0
- package/styles/carousel/icons/_bootstrap.scss +30 -0
- package/styles/carousel/icons/_bootstrap4.scss +30 -0
- package/styles/carousel/icons/_bootstrap5-dark.scss +1 -0
- package/styles/carousel/icons/_bootstrap5.scss +30 -0
- package/styles/carousel/icons/_fabric-dark.scss +30 -0
- package/styles/carousel/icons/_fabric.scss +30 -0
- package/styles/carousel/icons/_fluent-dark.scss +1 -0
- package/styles/carousel/icons/_fluent.scss +30 -0
- package/styles/carousel/icons/_fusionnew.scss +30 -0
- package/styles/carousel/icons/_highcontrast-light.scss +30 -0
- package/styles/carousel/icons/_highcontrast.scss +30 -0
- package/styles/carousel/icons/_material-dark.scss +30 -0
- package/styles/carousel/icons/_material.scss +30 -0
- package/styles/carousel/icons/_material3.scss +30 -0
- package/styles/carousel/icons/_tailwind-dark.scss +1 -0
- package/styles/carousel/icons/_tailwind.scss +30 -0
- package/styles/carousel/material-dark.css +265 -0
- package/styles/carousel/material-dark.scss +5 -0
- package/styles/carousel/material.css +265 -0
- package/styles/carousel/material.scss +5 -0
- package/styles/carousel/tailwind-dark.css +265 -0
- package/styles/carousel/tailwind-dark.scss +5 -0
- package/styles/carousel/tailwind.css +265 -0
- package/styles/carousel/tailwind.scss +5 -0
- package/styles/context-menu/_bootstrap-dark-definition.scss +49 -50
- package/styles/context-menu/_bootstrap-definition.scss +1 -3
- package/styles/context-menu/_bootstrap4-definition.scss +50 -0
- package/styles/context-menu/_bootstrap5-dark-definition.scss +1 -0
- package/styles/context-menu/_bootstrap5-definition.scss +52 -0
- package/styles/context-menu/_fabric-dark-definition.scss +49 -50
- package/styles/context-menu/_fabric-definition.scss +0 -2
- package/styles/context-menu/_fluent-dark-definition.scss +1 -0
- package/styles/context-menu/_fluent-definition.scss +52 -0
- package/styles/context-menu/_fusionnew-definition.scss +52 -0
- package/styles/context-menu/_highcontrast-definition.scss +0 -2
- package/styles/context-menu/_highcontrast-light-definition.scss +2 -3
- package/styles/context-menu/_layout-mixin.scss +19 -16
- package/styles/context-menu/_layout.scss +96 -5
- package/styles/context-menu/_material-dark-definition.scss +49 -50
- package/styles/context-menu/_material-definition.scss +3 -5
- package/styles/context-menu/_tailwind-dark-definition.scss +1 -0
- package/styles/context-menu/_tailwind-definition.scss +53 -0
- package/styles/context-menu/_theme-mixin.scss +16 -12
- package/styles/context-menu/_theme.scss +15 -1
- package/styles/context-menu/bootstrap-dark.css +206 -108
- package/styles/context-menu/bootstrap-dark.scss +3 -0
- package/styles/context-menu/bootstrap.css +206 -107
- package/styles/context-menu/bootstrap.scss +3 -0
- package/styles/context-menu/bootstrap4.css +367 -0
- package/styles/context-menu/bootstrap4.scss +7 -0
- package/styles/context-menu/bootstrap5-dark.css +355 -0
- package/styles/context-menu/bootstrap5-dark.scss +7 -0
- package/styles/context-menu/bootstrap5.css +355 -0
- package/styles/context-menu/bootstrap5.scss +7 -0
- package/styles/context-menu/fabric-dark.css +207 -109
- package/styles/context-menu/fabric-dark.scss +3 -0
- package/styles/context-menu/fabric.css +205 -106
- package/styles/context-menu/fabric.scss +3 -0
- package/styles/context-menu/fluent-dark.css +363 -0
- package/styles/context-menu/fluent-dark.scss +7 -0
- package/styles/context-menu/fluent.css +363 -0
- package/styles/context-menu/fluent.scss +7 -0
- package/styles/context-menu/highcontrast-light.css +366 -0
- package/styles/context-menu/highcontrast-light.scss +7 -0
- package/styles/context-menu/highcontrast.css +205 -106
- package/styles/context-menu/highcontrast.scss +3 -0
- package/styles/context-menu/icons/_bootstrap-dark.scss +5 -2
- package/styles/context-menu/icons/_bootstrap.scss +5 -2
- package/styles/context-menu/icons/_bootstrap4.scss +33 -0
- package/styles/context-menu/icons/_bootstrap5-dark.scss +1 -0
- package/styles/context-menu/icons/_bootstrap5.scss +33 -0
- package/styles/context-menu/icons/_fabric-dark.scss +5 -2
- package/styles/context-menu/icons/_fabric.scss +5 -2
- package/styles/context-menu/icons/_fluent-dark.scss +1 -0
- package/styles/context-menu/icons/_fluent.scss +33 -0
- package/styles/context-menu/icons/_fusionnew.scss +33 -0
- package/styles/context-menu/icons/_highcontrast-light.scss +5 -2
- package/styles/context-menu/icons/_highcontrast.scss +5 -2
- package/styles/context-menu/icons/_material-dark.scss +5 -2
- package/styles/context-menu/icons/_material.scss +5 -2
- package/styles/context-menu/icons/_material3.scss +33 -0
- package/styles/context-menu/icons/_tailwind-dark.scss +33 -0
- package/styles/context-menu/icons/_tailwind.scss +33 -0
- package/styles/context-menu/material-dark.css +223 -107
- package/styles/context-menu/material-dark.scss +3 -0
- package/styles/context-menu/material.css +228 -110
- package/styles/context-menu/material.scss +3 -0
- package/styles/context-menu/tailwind-dark.css +380 -0
- package/styles/context-menu/tailwind-dark.scss +7 -0
- package/styles/context-menu/tailwind.css +380 -0
- package/styles/context-menu/tailwind.scss +7 -0
- package/styles/fabric-dark.css +5766 -3690
- package/styles/fabric-dark.scss +4 -0
- package/styles/fabric.css +5959 -4038
- package/styles/fabric.scss +4 -0
- package/styles/fluent-dark.css +10172 -0
- package/styles/fluent-dark.scss +13 -0
- package/styles/fluent.css +10172 -0
- package/styles/fluent.scss +13 -0
- package/styles/h-scroll/_all.scss +1 -1
- package/styles/h-scroll/_bootstrap-dark-definition.scss +46 -40
- package/styles/h-scroll/_bootstrap-definition.scss +14 -7
- package/styles/h-scroll/_bootstrap4-definition.scss +56 -0
- package/styles/h-scroll/_bootstrap5-dark-definition.scss +1 -0
- package/styles/h-scroll/_bootstrap5-definition.scss +83 -0
- package/styles/h-scroll/_fabric-dark-definition.scss +48 -42
- package/styles/h-scroll/_fabric-definition.scss +17 -9
- package/styles/h-scroll/_fluent-dark-definition.scss +1 -0
- package/styles/h-scroll/_fluent-definition.scss +83 -0
- package/styles/h-scroll/_fusionnew-definition.scss +83 -0
- package/styles/h-scroll/_highcontrast-definition.scss +15 -17
- package/styles/h-scroll/_highcontrast-light-definition.scss +49 -46
- package/styles/h-scroll/_layout.scss +15 -15
- package/styles/h-scroll/_material-dark-definition.scss +56 -51
- package/styles/h-scroll/_material-definition.scss +21 -15
- package/styles/h-scroll/_tailwind-dark-definition.scss +1 -0
- package/styles/h-scroll/_tailwind-definition.scss +83 -0
- package/styles/h-scroll/_theme.scss +15 -29
- package/styles/h-scroll/bootstrap-dark.css +53 -66
- package/styles/h-scroll/bootstrap-dark.scss +1 -0
- package/styles/h-scroll/bootstrap.css +32 -80
- package/styles/h-scroll/bootstrap4.css +260 -0
- package/styles/h-scroll/bootstrap4.scss +4 -0
- package/styles/h-scroll/bootstrap5-dark.css +280 -0
- package/styles/h-scroll/bootstrap5-dark.scss +4 -0
- package/styles/h-scroll/bootstrap5.css +280 -0
- package/styles/h-scroll/bootstrap5.scss +4 -0
- package/styles/h-scroll/fabric-dark.css +54 -67
- package/styles/h-scroll/fabric-dark.scss +1 -0
- package/styles/h-scroll/fabric.css +32 -80
- package/styles/h-scroll/fluent-dark.css +280 -0
- package/styles/h-scroll/fluent-dark.scss +4 -0
- package/styles/h-scroll/fluent.css +280 -0
- package/styles/h-scroll/fluent.scss +4 -0
- package/styles/h-scroll/highcontrast-light.css +259 -0
- package/styles/h-scroll/highcontrast-light.scss +4 -0
- package/styles/h-scroll/highcontrast.css +26 -89
- package/styles/h-scroll/{_icons.scss → icons/_bootstrap-dark.scss} +13 -13
- package/styles/h-scroll/icons/_bootstrap.scss +3 -4
- package/styles/h-scroll/icons/_bootstrap4.scss +49 -0
- package/styles/h-scroll/icons/_bootstrap5-dark.scss +1 -0
- package/styles/h-scroll/icons/_bootstrap5.scss +49 -0
- package/styles/h-scroll/icons/_fabric-dark.scss +49 -0
- package/styles/h-scroll/icons/_fabric.scss +5 -5
- package/styles/h-scroll/icons/_fluent-dark.scss +1 -0
- package/styles/h-scroll/icons/_fluent.scss +49 -0
- package/styles/h-scroll/icons/_fusionnew.scss +49 -0
- package/styles/h-scroll/icons/_highcontrast-light.scss +49 -0
- package/styles/h-scroll/icons/_highcontrast.scss +5 -5
- package/styles/h-scroll/icons/_material-dark.scss +49 -0
- package/styles/h-scroll/icons/_material.scss +3 -3
- package/styles/h-scroll/icons/_material3.scss +49 -0
- package/styles/h-scroll/icons/_tailwind-dark.scss +1 -0
- package/styles/h-scroll/icons/_tailwind.scss +49 -0
- package/styles/h-scroll/material-dark.css +56 -70
- package/styles/h-scroll/material-dark.scss +1 -0
- package/styles/h-scroll/material.css +33 -82
- package/styles/h-scroll/tailwind-dark.css +281 -0
- package/styles/h-scroll/tailwind-dark.scss +4 -0
- package/styles/h-scroll/tailwind.css +281 -0
- package/styles/h-scroll/tailwind.scss +4 -0
- package/styles/highcontrast-light.css +10029 -0
- package/styles/highcontrast-light.scss +13 -0
- package/styles/highcontrast.css +6039 -4460
- package/styles/highcontrast.scss +4 -0
- package/styles/material-dark.css +6282 -3945
- package/styles/material-dark.scss +4 -0
- package/styles/material.css +6210 -4026
- package/styles/material.scss +4 -0
- package/styles/menu/_bootstrap-dark-definition.scss +32 -21
- package/styles/menu/_bootstrap-definition.scss +12 -2
- package/styles/menu/_bootstrap4-definition.scss +64 -0
- package/styles/menu/_bootstrap5-dark-definition.scss +1 -0
- package/styles/menu/_bootstrap5-definition.scss +67 -0
- package/styles/menu/_fabric-dark-definition.scss +33 -22
- package/styles/menu/_fabric-definition.scss +11 -1
- package/styles/menu/_fluent-dark-definition.scss +1 -0
- package/styles/menu/_fluent-definition.scss +67 -0
- package/styles/menu/_fusionnew-definition.scss +67 -0
- package/styles/menu/_highcontrast-definition.scss +12 -2
- package/styles/menu/_highcontrast-light-definition.scss +11 -1
- package/styles/menu/_layout.scss +363 -37
- package/styles/menu/_material-dark-definition.scss +30 -19
- package/styles/menu/_material-definition.scss +10 -0
- package/styles/menu/_tailwind-dark-definition.scss +1 -0
- package/styles/menu/_tailwind-definition.scss +66 -0
- package/styles/menu/_theme.scss +201 -17
- package/styles/menu/bootstrap-dark.css +717 -319
- package/styles/menu/bootstrap.css +701 -304
- package/styles/menu/bootstrap.scss +1 -0
- package/styles/menu/bootstrap4.css +1126 -0
- package/styles/menu/bootstrap4.scss +8 -0
- package/styles/menu/bootstrap5-dark.css +1083 -0
- package/styles/menu/bootstrap5-dark.scss +8 -0
- package/styles/menu/bootstrap5.css +1083 -0
- package/styles/menu/bootstrap5.scss +8 -0
- package/styles/menu/fabric-dark.css +716 -318
- package/styles/menu/fabric.css +696 -298
- package/styles/menu/fabric.scss +1 -0
- package/styles/menu/fluent-dark.css +1106 -0
- package/styles/menu/fluent-dark.scss +8 -0
- package/styles/menu/fluent.css +1106 -0
- package/styles/menu/fluent.scss +8 -0
- package/styles/menu/highcontrast-light.css +1088 -0
- package/styles/menu/highcontrast-light.scss +8 -0
- package/styles/menu/highcontrast.css +698 -300
- package/styles/menu/highcontrast.scss +1 -0
- package/styles/menu/icons/_bootstrap-dark.scss +58 -3
- package/styles/menu/icons/_bootstrap.scss +58 -3
- package/styles/menu/icons/_bootstrap4.scss +134 -0
- package/styles/menu/icons/_bootstrap5-dark.scss +1 -0
- package/styles/menu/icons/_bootstrap5.scss +134 -0
- package/styles/menu/icons/_fabric-dark.scss +62 -7
- package/styles/menu/icons/_fabric.scss +62 -7
- package/styles/menu/icons/_fluent-dark.scss +1 -0
- package/styles/menu/icons/_fluent.scss +134 -0
- package/styles/menu/icons/_fusionnew.scss +134 -0
- package/styles/menu/icons/_highcontrast-light.scss +58 -3
- package/styles/menu/icons/_highcontrast.scss +58 -3
- package/styles/menu/icons/_material-dark.scss +58 -3
- package/styles/menu/icons/_material.scss +58 -3
- package/styles/menu/icons/_material3.scss +134 -0
- package/styles/menu/icons/_tailwind-dark.scss +134 -0
- package/styles/menu/icons/_tailwind.scss +134 -0
- package/styles/menu/material-dark.css +715 -319
- package/styles/menu/material.css +699 -303
- package/styles/menu/material.scss +1 -0
- package/styles/menu/tailwind-dark.css +1102 -0
- package/styles/menu/tailwind-dark.scss +8 -0
- package/styles/menu/tailwind.css +1102 -0
- package/styles/menu/tailwind.scss +8 -0
- package/styles/pager/_all.scss +2 -0
- package/styles/pager/_bootstrap-dark-definition.scss +131 -0
- package/styles/pager/_bootstrap-definition.scss +131 -0
- package/styles/pager/_bootstrap4-definition.scss +131 -0
- package/styles/pager/_bootstrap5-dark-definition.scss +1 -0
- package/styles/pager/_bootstrap5-definition.scss +146 -0
- package/styles/pager/_fabric-dark-definition.scss +131 -0
- package/styles/pager/_fabric-definition.scss +129 -0
- package/styles/pager/_fluent-dark-definition.scss +1 -0
- package/styles/pager/_fluent-definition.scss +133 -0
- package/styles/pager/_fusionnew-definition.scss +146 -0
- package/styles/pager/_highcontrast-definition.scss +129 -0
- package/styles/pager/_highcontrast-light-definition.scss +131 -0
- package/styles/pager/_layout.scss +896 -0
- package/styles/pager/_material-dark-definition.scss +132 -0
- package/styles/pager/_material-definition.scss +130 -0
- package/styles/pager/_tailwind-dark-definition.scss +1 -0
- package/styles/pager/_tailwind-definition.scss +132 -0
- package/styles/pager/_theme.scss +152 -0
- package/styles/pager/bootstrap-dark.css +688 -0
- package/styles/pager/bootstrap-dark.scss +4 -0
- package/styles/pager/bootstrap.css +688 -0
- package/styles/pager/bootstrap.scss +4 -0
- package/styles/pager/bootstrap4.css +688 -0
- package/styles/pager/bootstrap4.scss +4 -0
- package/styles/pager/bootstrap5-dark.css +723 -0
- package/styles/pager/bootstrap5-dark.scss +4 -0
- package/styles/pager/bootstrap5.css +723 -0
- package/styles/pager/bootstrap5.scss +4 -0
- package/styles/pager/fabric-dark.css +688 -0
- package/styles/pager/fabric-dark.scss +4 -0
- package/styles/pager/fabric.css +688 -0
- package/styles/pager/fabric.scss +4 -0
- package/styles/pager/fluent-dark.css +690 -0
- package/styles/pager/fluent-dark.scss +4 -0
- package/styles/pager/fluent.css +690 -0
- package/styles/pager/fluent.scss +4 -0
- package/styles/pager/highcontrast-light.css +688 -0
- package/styles/pager/highcontrast-light.scss +4 -0
- package/styles/pager/highcontrast.css +688 -0
- package/styles/pager/highcontrast.scss +4 -0
- package/styles/pager/icons/_bootstrap-dark.scss +50 -0
- package/styles/pager/icons/_bootstrap.scss +50 -0
- package/styles/pager/icons/_bootstrap4.scss +50 -0
- package/styles/pager/icons/_bootstrap5-dark.scss +1 -0
- package/styles/pager/icons/_bootstrap5.scss +50 -0
- package/styles/pager/icons/_fabric-dark.scss +50 -0
- package/styles/pager/icons/_fabric.scss +50 -0
- package/styles/pager/icons/_fluent-dark.scss +1 -0
- package/styles/pager/icons/_fluent.scss +50 -0
- package/styles/pager/icons/_fusionnew.scss +50 -0
- package/styles/pager/icons/_highcontrast-light.scss +50 -0
- package/styles/pager/icons/_highcontrast.scss +46 -0
- package/styles/pager/icons/_material-dark.scss +50 -0
- package/styles/pager/icons/_material.scss +46 -0
- package/styles/pager/icons/_material3.scss +50 -0
- package/styles/pager/icons/_tailwind-dark.scss +1 -0
- package/styles/pager/icons/_tailwind.scss +50 -0
- package/styles/pager/material-dark.css +689 -0
- package/styles/pager/material-dark.scss +4 -0
- package/styles/pager/material.css +689 -0
- package/styles/pager/material.scss +4 -0
- package/styles/pager/tailwind-dark.css +815 -0
- package/styles/pager/tailwind-dark.scss +4 -0
- package/styles/pager/tailwind.css +815 -0
- package/styles/pager/tailwind.scss +4 -0
- package/styles/sidebar/_bootstrap4-definition.scss +4 -0
- package/styles/sidebar/_bootstrap5-dark-definition.scss +1 -0
- package/styles/sidebar/_bootstrap5-definition.scss +6 -0
- package/styles/sidebar/_fabric-definition.scss +0 -2
- package/styles/sidebar/_fluent-dark-definition.scss +1 -0
- package/styles/sidebar/_fluent-definition.scss +6 -0
- package/styles/sidebar/_fusionnew-definition.scss +6 -0
- package/styles/sidebar/_highcontrast-definition.scss +1 -1
- package/styles/sidebar/_icons.scss +1 -1
- package/styles/sidebar/_layout.scss +1 -0
- package/styles/sidebar/_tailwind-dark-definition.scss +1 -0
- package/styles/sidebar/_tailwind-definition.scss +6 -0
- package/styles/sidebar/_theme.scss +56 -34
- package/styles/sidebar/bootstrap-dark.css +29 -25
- package/styles/sidebar/bootstrap.css +29 -25
- package/styles/sidebar/bootstrap4.css +149 -0
- package/styles/sidebar/bootstrap4.scss +3 -0
- package/styles/sidebar/bootstrap5-dark.css +147 -0
- package/styles/sidebar/bootstrap5-dark.scss +3 -0
- package/styles/sidebar/bootstrap5.css +147 -0
- package/styles/sidebar/bootstrap5.scss +3 -0
- package/styles/sidebar/fabric-dark.css +29 -25
- package/styles/sidebar/fabric.css +29 -25
- package/styles/sidebar/fluent-dark.css +147 -0
- package/styles/sidebar/fluent-dark.scss +3 -0
- package/styles/sidebar/fluent.css +147 -0
- package/styles/sidebar/fluent.scss +3 -0
- package/styles/sidebar/highcontrast-light.css +149 -0
- package/styles/sidebar/highcontrast-light.scss +3 -0
- package/styles/sidebar/highcontrast.css +30 -26
- package/styles/sidebar/material-dark.css +29 -25
- package/styles/sidebar/material.css +29 -25
- package/styles/sidebar/tailwind-dark.css +148 -0
- package/styles/sidebar/tailwind-dark.scss +3 -0
- package/styles/sidebar/tailwind.css +148 -0
- package/styles/sidebar/tailwind.scss +3 -0
- package/styles/tab/_bootstrap-dark-definition.scss +632 -374
- package/styles/tab/_bootstrap-definition.scss +279 -13
- package/styles/tab/_bootstrap4-definition.scss +666 -0
- package/styles/tab/_bootstrap5-dark-definition.scss +1 -0
- package/styles/tab/_bootstrap5-definition.scss +656 -0
- package/styles/tab/_fabric-dark-definition.scss +644 -385
- package/styles/tab/_fabric-definition.scss +281 -15
- package/styles/tab/_fluent-dark-definition.scss +1 -0
- package/styles/tab/_fluent-definition.scss +664 -0
- package/styles/tab/_fusionnew-definition.scss +656 -0
- package/styles/tab/_highcontrast-definition.scss +283 -17
- package/styles/tab/_highcontrast-light-definition.scss +667 -411
- package/styles/tab/_icons.scss +1 -0
- package/styles/tab/_layout.scss +697 -753
- package/styles/tab/_material-dark-definition.scss +627 -370
- package/styles/tab/_material-definition.scss +277 -11
- package/styles/tab/_tailwind-dark-definition.scss +1 -0
- package/styles/tab/_tailwind-definition.scss +685 -0
- package/styles/tab/_theme.scss +402 -537
- package/styles/tab/bootstrap-dark.css +1226 -1067
- package/styles/tab/bootstrap-dark.scss +1 -0
- package/styles/tab/bootstrap.css +1173 -1106
- package/styles/tab/bootstrap4.css +4031 -0
- package/styles/tab/bootstrap4.scss +5 -0
- package/styles/tab/bootstrap5-dark.css +4029 -0
- package/styles/tab/bootstrap5-dark.scss +5 -0
- package/styles/tab/bootstrap5.css +4029 -0
- package/styles/tab/bootstrap5.scss +5 -0
- package/styles/tab/fabric-dark.css +1212 -1096
- package/styles/tab/fabric-dark.scss +1 -0
- package/styles/tab/fabric.css +1173 -1148
- package/styles/tab/fluent-dark.css +4031 -0
- package/styles/tab/fluent-dark.scss +5 -0
- package/styles/tab/fluent.css +4031 -0
- package/styles/tab/fluent.scss +5 -0
- package/styles/tab/highcontrast-light.css +4022 -0
- package/styles/tab/highcontrast-light.scss +5 -0
- package/styles/tab/highcontrast.css +1086 -1215
- package/styles/tab/icons/_bootstrap-dark.scss +108 -0
- package/styles/tab/icons/_bootstrap.scss +11 -35
- package/styles/tab/icons/_bootstrap4.scss +115 -0
- package/styles/tab/icons/_bootstrap5-dark.scss +1 -0
- package/styles/tab/icons/_bootstrap5.scss +104 -0
- package/styles/tab/icons/_fabric-dark.scss +108 -0
- package/styles/tab/icons/_fabric.scss +11 -35
- package/styles/tab/icons/_fluent-dark.scss +1 -0
- package/styles/tab/icons/_fluent.scss +108 -0
- package/styles/tab/icons/_fusionnew.scss +104 -0
- package/styles/tab/icons/_highcontrast-light.scss +104 -0
- package/styles/tab/icons/_highcontrast.scss +11 -28
- package/styles/tab/icons/_material-dark.scss +104 -0
- package/styles/tab/icons/_material.scss +9 -37
- package/styles/tab/icons/_material3.scss +104 -0
- package/styles/tab/icons/_tailwind-dark.scss +1 -0
- package/styles/tab/icons/_tailwind.scss +104 -0
- package/styles/tab/material-dark.css +1334 -955
- package/styles/tab/material-dark.scss +1 -0
- package/styles/tab/material.css +1280 -992
- package/styles/tab/tailwind-dark.css +4046 -0
- package/styles/tab/tailwind-dark.scss +5 -0
- package/styles/tab/tailwind.css +4046 -0
- package/styles/tab/tailwind.scss +5 -0
- package/styles/tailwind-dark.css +10351 -0
- package/styles/tailwind-dark.scss +13 -0
- package/styles/tailwind.css +10351 -0
- package/styles/tailwind.scss +13 -0
- package/styles/toolbar/_all.scss +1 -1
- package/styles/toolbar/_bootstrap-dark-definition.scss +193 -121
- package/styles/toolbar/_bootstrap-definition.scss +107 -34
- package/styles/toolbar/_bootstrap4-definition.scss +211 -0
- package/styles/toolbar/_bootstrap5-dark-definition.scss +1 -0
- package/styles/toolbar/_bootstrap5-definition.scss +220 -0
- package/styles/toolbar/_fabric-dark-definition.scss +208 -140
- package/styles/toolbar/_fabric-definition.scss +97 -28
- package/styles/toolbar/_fluent-dark-definition.scss +1 -0
- package/styles/toolbar/_fluent-definition.scss +210 -0
- package/styles/toolbar/_fusionnew-definition.scss +220 -0
- package/styles/toolbar/_highcontrast-definition.scss +99 -30
- package/styles/toolbar/_highcontrast-light-definition.scss +219 -149
- package/styles/toolbar/_layout.scss +690 -1087
- package/styles/toolbar/_material-dark-definition.scss +216 -148
- package/styles/toolbar/_material-definition.scss +117 -46
- package/styles/toolbar/_tailwind-dark-definition.scss +1 -0
- package/styles/toolbar/_tailwind-definition.scss +210 -0
- package/styles/toolbar/_theme.scss +246 -263
- package/styles/toolbar/bootstrap-dark.css +768 -1105
- package/styles/toolbar/bootstrap-dark.scss +1 -0
- package/styles/toolbar/bootstrap.css +761 -1111
- package/styles/toolbar/bootstrap.scss +1 -0
- package/styles/toolbar/bootstrap4.css +1071 -0
- package/styles/toolbar/bootstrap4.scss +8 -0
- package/styles/toolbar/bootstrap5-dark.css +1082 -0
- package/styles/toolbar/bootstrap5-dark.scss +8 -0
- package/styles/toolbar/bootstrap5.css +1082 -0
- package/styles/toolbar/bootstrap5.scss +8 -0
- package/styles/toolbar/fabric-dark.css +779 -1042
- package/styles/toolbar/fabric-dark.scss +1 -0
- package/styles/toolbar/fabric.css +767 -1041
- package/styles/toolbar/fabric.scss +1 -0
- package/styles/toolbar/fluent-dark.css +1081 -0
- package/styles/toolbar/fluent-dark.scss +8 -0
- package/styles/toolbar/fluent.css +1081 -0
- package/styles/toolbar/fluent.scss +8 -0
- package/styles/toolbar/highcontrast-light.css +1070 -0
- package/styles/toolbar/highcontrast-light.scss +8 -0
- package/styles/toolbar/highcontrast.css +744 -1089
- package/styles/toolbar/highcontrast.scss +1 -0
- package/styles/toolbar/icons/_bootstrap-dark.scss +16 -0
- package/styles/toolbar/icons/_bootstrap.scss +1 -1
- package/styles/toolbar/icons/_bootstrap4.scss +16 -0
- package/styles/toolbar/icons/_bootstrap5-dark.scss +1 -0
- package/styles/toolbar/icons/_bootstrap5.scss +16 -0
- package/styles/toolbar/icons/_fabric-dark.scss +16 -0
- package/styles/toolbar/icons/_fabric.scss +1 -1
- package/styles/toolbar/icons/_fluent-dark.scss +1 -0
- package/styles/toolbar/icons/_fluent.scss +16 -0
- package/styles/toolbar/icons/_fusionnew.scss +16 -0
- package/styles/toolbar/icons/_highcontrast-light.scss +16 -0
- package/styles/toolbar/icons/_highcontrast.scss +1 -1
- package/styles/toolbar/icons/_material-dark.scss +16 -0
- package/styles/toolbar/icons/_material.scss +1 -1
- package/styles/toolbar/icons/_material3.scss +16 -0
- package/styles/toolbar/icons/_tailwind-dark.scss +1 -0
- package/styles/toolbar/icons/_tailwind.scss +16 -0
- package/styles/toolbar/material-dark.css +747 -1010
- package/styles/toolbar/material-dark.scss +1 -0
- package/styles/toolbar/material.css +753 -1027
- package/styles/toolbar/material.scss +1 -0
- package/styles/toolbar/tailwind-dark.css +1082 -0
- package/styles/toolbar/tailwind-dark.scss +8 -0
- package/styles/toolbar/tailwind.css +1082 -0
- package/styles/toolbar/tailwind.scss +8 -0
- package/styles/treeview/_all.scss +1 -1
- package/styles/treeview/_bootstrap-dark-definition.scss +104 -117
- package/styles/treeview/_bootstrap-definition.scss +24 -38
- package/styles/treeview/_bootstrap4-definition.scss +141 -0
- package/styles/treeview/_bootstrap5-dark-definition.scss +1 -0
- package/styles/treeview/_bootstrap5-definition.scss +120 -0
- package/styles/treeview/_fabric-dark-definition.scss +102 -116
- package/styles/treeview/_fabric-definition.scss +24 -38
- package/styles/treeview/_fluent-dark-definition.scss +1 -0
- package/styles/treeview/_fluent-definition.scss +120 -0
- package/styles/treeview/_fusionnew-definition.scss +120 -0
- package/styles/treeview/_highcontrast-definition.scss +24 -38
- package/styles/treeview/_highcontrast-light-definition.scss +112 -126
- package/styles/treeview/_layout.scss +619 -28
- package/styles/treeview/_material-dark-definition.scss +104 -116
- package/styles/treeview/_material-definition.scss +25 -39
- package/styles/treeview/_tailwind-dark-definition.scss +1 -0
- package/styles/treeview/_tailwind-definition.scss +124 -0
- package/styles/treeview/_theme.scss +128 -27
- package/styles/treeview/bootstrap-dark.css +230 -172
- package/styles/treeview/bootstrap.css +230 -168
- package/styles/treeview/bootstrap4.css +829 -0
- package/styles/treeview/bootstrap4.scss +6 -0
- package/styles/treeview/bootstrap5-dark.css +847 -0
- package/styles/treeview/bootstrap5-dark.scss +6 -0
- package/styles/treeview/bootstrap5.css +847 -0
- package/styles/treeview/bootstrap5.scss +6 -0
- package/styles/treeview/fabric-dark.css +230 -168
- package/styles/treeview/fabric.css +230 -168
- package/styles/treeview/fluent-dark.css +852 -0
- package/styles/treeview/fluent-dark.scss +6 -0
- package/styles/treeview/fluent.css +852 -0
- package/styles/treeview/fluent.scss +6 -0
- package/styles/treeview/highcontrast-light.css +736 -0
- package/styles/treeview/highcontrast-light.scss +6 -0
- package/styles/treeview/highcontrast.css +230 -171
- package/styles/treeview/icons/_bootstrap-dark.scss +2 -2
- package/styles/treeview/icons/_bootstrap.scss +2 -2
- package/styles/treeview/icons/_bootstrap4.scss +39 -0
- package/styles/treeview/icons/_bootstrap5-dark.scss +1 -0
- package/styles/treeview/icons/_bootstrap5.scss +43 -0
- package/styles/treeview/icons/_fabric-dark.scss +2 -2
- package/styles/treeview/icons/_fabric.scss +2 -2
- package/styles/treeview/icons/_fluent-dark.scss +1 -0
- package/styles/treeview/icons/_fluent.scss +43 -0
- package/styles/treeview/icons/_fusionnew.scss +43 -0
- package/styles/treeview/icons/_highcontrast-light.scss +2 -2
- package/styles/treeview/icons/_highcontrast.scss +2 -2
- package/styles/treeview/icons/_material-dark.scss +2 -2
- package/styles/treeview/icons/_material.scss +2 -2
- package/styles/treeview/icons/_material3.scss +43 -0
- package/styles/treeview/icons/_tailwind-dark.scss +43 -0
- package/styles/treeview/icons/_tailwind.scss +43 -0
- package/styles/treeview/material-dark.css +242 -172
- package/styles/treeview/material.css +238 -167
- package/styles/treeview/tailwind-dark.css +840 -0
- package/styles/treeview/tailwind-dark.scss +6 -0
- package/styles/treeview/tailwind.css +840 -0
- package/styles/treeview/tailwind.scss +6 -0
- package/styles/v-scroll/_all.scss +1 -1
- package/styles/v-scroll/_bootstrap-dark-definition.scss +39 -38
- package/styles/v-scroll/_bootstrap-definition.scss +8 -8
- package/styles/v-scroll/_bootstrap4-definition.scss +49 -0
- package/styles/v-scroll/_bootstrap5-dark-definition.scss +1 -0
- package/styles/v-scroll/_bootstrap5-definition.scss +49 -0
- package/styles/v-scroll/_fabric-dark-definition.scss +41 -40
- package/styles/v-scroll/_fabric-definition.scss +10 -10
- package/styles/v-scroll/_fluent-dark-definition.scss +1 -0
- package/styles/v-scroll/_fluent-definition.scss +49 -0
- package/styles/v-scroll/_fusionnew-definition.scss +49 -0
- package/styles/v-scroll/_highcontrast-definition.scss +10 -11
- package/styles/v-scroll/_highcontrast-light-definition.scss +41 -41
- package/styles/v-scroll/_layout.scss +4 -4
- package/styles/v-scroll/_material-dark-definition.scss +46 -45
- package/styles/v-scroll/_material-definition.scss +10 -10
- package/styles/v-scroll/_tailwind-dark-definition.scss +1 -0
- package/styles/v-scroll/_tailwind-definition.scss +49 -0
- package/styles/v-scroll/_theme.scss +2 -27
- package/styles/v-scroll/bootstrap-dark.css +25 -51
- package/styles/v-scroll/bootstrap-dark.scss +1 -0
- package/styles/v-scroll/bootstrap.css +13 -58
- package/styles/v-scroll/bootstrap4.css +202 -0
- package/styles/v-scroll/bootstrap4.scss +4 -0
- package/styles/v-scroll/bootstrap5-dark.css +202 -0
- package/styles/v-scroll/bootstrap5-dark.scss +4 -0
- package/styles/v-scroll/bootstrap5.css +202 -0
- package/styles/v-scroll/bootstrap5.scss +4 -0
- package/styles/v-scroll/fabric-dark.css +26 -52
- package/styles/v-scroll/fabric-dark.scss +1 -0
- package/styles/v-scroll/fabric.css +14 -59
- package/styles/v-scroll/fluent-dark.css +202 -0
- package/styles/v-scroll/fluent-dark.scss +4 -0
- package/styles/v-scroll/fluent.css +202 -0
- package/styles/v-scroll/fluent.scss +4 -0
- package/styles/v-scroll/highcontrast-light.css +201 -0
- package/styles/v-scroll/highcontrast-light.scss +4 -0
- package/styles/v-scroll/highcontrast.css +14 -74
- package/styles/v-scroll/icons/_bootstrap-dark.scss +27 -0
- package/styles/v-scroll/icons/_bootstrap.scss +1 -1
- package/styles/v-scroll/icons/_bootstrap4.scss +27 -0
- package/styles/v-scroll/icons/_bootstrap5-dark.scss +1 -0
- package/styles/v-scroll/icons/_bootstrap5.scss +27 -0
- package/styles/v-scroll/icons/_fabric-dark.scss +27 -0
- package/styles/v-scroll/icons/_fabric.scss +3 -2
- package/styles/v-scroll/icons/_fluent-dark.scss +1 -0
- package/styles/v-scroll/icons/_fluent.scss +27 -0
- package/styles/v-scroll/icons/_fusionnew.scss +27 -0
- package/styles/v-scroll/icons/_highcontrast-light.scss +27 -0
- package/styles/v-scroll/icons/_highcontrast.scss +3 -2
- package/styles/v-scroll/{_icons.scss → icons/_material-dark.scss} +4 -3
- package/styles/v-scroll/icons/_material.scss +1 -0
- package/styles/v-scroll/icons/_material3.scss +27 -0
- package/styles/v-scroll/icons/_tailwind-dark.scss +1 -0
- package/styles/v-scroll/icons/_tailwind.scss +27 -0
- package/styles/v-scroll/material-dark.css +23 -50
- package/styles/v-scroll/material-dark.scss +1 -0
- package/styles/v-scroll/material.css +12 -58
- package/styles/v-scroll/tailwind-dark.css +203 -0
- package/styles/v-scroll/tailwind-dark.scss +4 -0
- package/styles/v-scroll/tailwind.css +203 -0
- package/styles/v-scroll/tailwind.scss +4 -0
- package/tslint.json +111 -0
- package/styles/toolbar/_icons.scss +0 -35
package/src/menu/menu-model.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { attributes, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { Browser, Complex } from '@syncfusion/ej2-base';import { MenuBase, FieldSettings } from '../common/menu-base';import { MenuItemModel, FieldSettingsModel } from '../common/menu-base-model';
|
|
1
|
+
import { attributes, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { Browser, Complex, getUniqueID, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { MenuBase, FieldSettings } from '../common/menu-base';import { MenuItemModel, FieldSettingsModel } from '../common/menu-base-model';
|
|
2
2
|
import {Orientation} from "./menu";
|
|
3
3
|
import {MenuBaseModel} from "../common/menu-base-model";
|
|
4
4
|
|
|
@@ -9,27 +9,60 @@ export interface MenuModel extends MenuBaseModel{
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Specified the orientation of Menu whether it can be horizontal or vertical.
|
|
12
|
+
*
|
|
12
13
|
* @default 'Horizontal'
|
|
13
14
|
*/
|
|
14
15
|
orientation?: Orientation;
|
|
15
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Specifies target element to open/close Menu while click in Hamburger mode.
|
|
19
|
+
*
|
|
20
|
+
* @default ''
|
|
21
|
+
*/
|
|
22
|
+
target?: string;
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
* Specifies the template for Menu item.
|
|
26
|
+
*
|
|
18
27
|
* @default null
|
|
19
28
|
*/
|
|
20
29
|
template?: string;
|
|
21
30
|
|
|
22
31
|
/**
|
|
23
32
|
* Specifies whether to enable / disable the scrollable option in Menu.
|
|
33
|
+
*
|
|
24
34
|
* @default false
|
|
25
35
|
*/
|
|
26
36
|
enableScrolling?: boolean;
|
|
27
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Specifies whether to enable / disable the hamburger mode in Menu.
|
|
40
|
+
*
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
hamburgerMode?: boolean;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the title text for hamburger mode in Menu.
|
|
47
|
+
*
|
|
48
|
+
* @default 'Menu'
|
|
49
|
+
*/
|
|
50
|
+
title?: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Defines whether to allow the cross-scripting site or not.
|
|
54
|
+
*
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
57
|
+
enableHtmlSanitizer?: boolean;
|
|
58
|
+
|
|
28
59
|
/**
|
|
29
60
|
* Specifies mapping fields from the dataSource.
|
|
61
|
+
*
|
|
30
62
|
* @default { itemId: "id", text: "text", parentId: "parentId", iconCss: "iconCss", url: "url", separator: "separator",
|
|
31
63
|
* children: "items" }
|
|
32
64
|
*/
|
|
65
|
+
// eslint:disable-next-line
|
|
33
66
|
fields?: FieldSettingsModel;
|
|
34
67
|
|
|
35
68
|
}
|
package/src/menu/menu.d.ts
CHANGED
|
@@ -4,7 +4,11 @@ import { MenuBase } from '../common/menu-base';
|
|
|
4
4
|
import { FieldSettingsModel } from '../common/menu-base-model';
|
|
5
5
|
import { MenuModel } from './menu-model';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Defines the different types of orientation option available in the Menu.
|
|
8
|
+
* ```props
|
|
9
|
+
* Horizontal - It renders the menu in a horizontal orientation mode.
|
|
10
|
+
* Vertical - It renders the menu in a vertical orientation mode.
|
|
11
|
+
* ```
|
|
8
12
|
*/
|
|
9
13
|
export declare type Orientation = 'Horizontal' | 'Vertical';
|
|
10
14
|
/**
|
|
@@ -23,49 +27,99 @@ export declare class Menu extends MenuBase implements INotifyPropertyChanged {
|
|
|
23
27
|
private tempItems;
|
|
24
28
|
/**
|
|
25
29
|
* Specified the orientation of Menu whether it can be horizontal or vertical.
|
|
30
|
+
*
|
|
26
31
|
* @default 'Horizontal'
|
|
27
32
|
*/
|
|
28
33
|
orientation: Orientation;
|
|
34
|
+
/**
|
|
35
|
+
* Specifies target element to open/close Menu while click in Hamburger mode.
|
|
36
|
+
*
|
|
37
|
+
* @default ''
|
|
38
|
+
*/
|
|
39
|
+
target: string;
|
|
29
40
|
/**
|
|
30
41
|
* Specifies the template for Menu item.
|
|
42
|
+
*
|
|
31
43
|
* @default null
|
|
32
44
|
*/
|
|
33
45
|
template: string;
|
|
34
46
|
/**
|
|
35
47
|
* Specifies whether to enable / disable the scrollable option in Menu.
|
|
48
|
+
*
|
|
36
49
|
* @default false
|
|
37
50
|
*/
|
|
38
51
|
enableScrolling: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Specifies whether to enable / disable the hamburger mode in Menu.
|
|
54
|
+
*
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
57
|
+
hamburgerMode: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies the title text for hamburger mode in Menu.
|
|
60
|
+
*
|
|
61
|
+
* @default 'Menu'
|
|
62
|
+
*/
|
|
63
|
+
title: string;
|
|
64
|
+
/**
|
|
65
|
+
* Defines whether to allow the cross-scripting site or not.
|
|
66
|
+
*
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
enableHtmlSanitizer: boolean;
|
|
39
70
|
/**
|
|
40
71
|
* Specifies mapping fields from the dataSource.
|
|
72
|
+
*
|
|
41
73
|
* @default { itemId: "id", text: "text", parentId: "parentId", iconCss: "iconCss", url: "url", separator: "separator",
|
|
42
74
|
* children: "items" }
|
|
43
75
|
*/
|
|
44
76
|
fields: FieldSettingsModel;
|
|
45
77
|
/**
|
|
46
78
|
* Constructor for creating the component.
|
|
79
|
+
*
|
|
47
80
|
* @private
|
|
81
|
+
* @param {MenuModel} options - Specifies the menu model
|
|
82
|
+
* @param {string} element - Specifies the element
|
|
48
83
|
*/
|
|
49
84
|
constructor(options?: MenuModel, element?: string | HTMLUListElement);
|
|
50
85
|
/**
|
|
51
86
|
* Get module name.
|
|
52
|
-
*
|
|
87
|
+
*
|
|
53
88
|
* @private
|
|
89
|
+
* @returns {string} - Module Name
|
|
54
90
|
*/
|
|
55
91
|
protected getModuleName(): string;
|
|
56
92
|
/**
|
|
57
93
|
* For internal use only - prerender processing.
|
|
94
|
+
*
|
|
58
95
|
* @private
|
|
96
|
+
* @returns {void}
|
|
59
97
|
*/
|
|
60
98
|
protected preRender(): void;
|
|
61
99
|
protected initialize(): void;
|
|
100
|
+
private updateMenuItems;
|
|
62
101
|
/**
|
|
63
|
-
* Called internally if any of the property value changed
|
|
102
|
+
* Called internally if any of the property value changed.
|
|
103
|
+
*
|
|
64
104
|
* @private
|
|
65
|
-
* @param {MenuModel} newProp
|
|
66
|
-
* @param {MenuModel} oldProp
|
|
67
|
-
* @returns void
|
|
105
|
+
* @param {MenuModel} newProp - Specifies the new properties.
|
|
106
|
+
* @param {MenuModel} oldProp - Specifies the old properties.
|
|
107
|
+
* @returns {void}
|
|
68
108
|
*/
|
|
69
109
|
onPropertyChanged(newProp: MenuModel, oldProp: MenuModel): void;
|
|
70
110
|
private createMenuItems;
|
|
111
|
+
/**
|
|
112
|
+
* This method is used to open the Menu in hamburger mode.
|
|
113
|
+
*
|
|
114
|
+
* @function open
|
|
115
|
+
* @returns {void}
|
|
116
|
+
*/
|
|
117
|
+
open(): void;
|
|
118
|
+
/**
|
|
119
|
+
* Closes the Menu if it is opened in hamburger mode.
|
|
120
|
+
*
|
|
121
|
+
* @function close
|
|
122
|
+
* @returns {void}
|
|
123
|
+
*/
|
|
124
|
+
close(): void;
|
|
71
125
|
}
|
package/src/menu/menu.js
CHANGED
|
@@ -4,7 +4,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
5
|
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
8
|
return function (d, b) {
|
|
9
9
|
extendStatics(d, b);
|
|
10
10
|
function __() { this.constructor = d; }
|
|
@@ -17,12 +17,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
17
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
+
/* eslint-disable @typescript-eslint/triple-slash-reference */
|
|
20
21
|
/// <reference path='../common/menu-base-model.d.ts'/>
|
|
21
22
|
import { attributes, NotifyPropertyChanges, Property } from '@syncfusion/ej2-base';
|
|
22
|
-
import { Browser, Complex } from '@syncfusion/ej2-base';
|
|
23
|
+
import { Browser, Complex, getUniqueID, SanitizeHtmlHelper } from '@syncfusion/ej2-base';
|
|
23
24
|
import { MenuBase, FieldSettings } from '../common/menu-base';
|
|
24
25
|
var VMENU = 'e-vertical';
|
|
25
26
|
var SCROLLABLE = 'e-scrollable';
|
|
27
|
+
var HAMBURGER = 'e-hamburger';
|
|
26
28
|
/**
|
|
27
29
|
* The Menu is a graphical user interface that serve as navigation headers for your application or site.
|
|
28
30
|
* ```html
|
|
@@ -39,7 +41,10 @@ var Menu = /** @class */ (function (_super) {
|
|
|
39
41
|
__extends(Menu, _super);
|
|
40
42
|
/**
|
|
41
43
|
* Constructor for creating the component.
|
|
44
|
+
*
|
|
42
45
|
* @private
|
|
46
|
+
* @param {MenuModel} options - Specifies the menu model
|
|
47
|
+
* @param {string} element - Specifies the element
|
|
43
48
|
*/
|
|
44
49
|
function Menu(options, element) {
|
|
45
50
|
var _this = _super.call(this, options, element) || this;
|
|
@@ -48,18 +53,22 @@ var Menu = /** @class */ (function (_super) {
|
|
|
48
53
|
}
|
|
49
54
|
/**
|
|
50
55
|
* Get module name.
|
|
51
|
-
*
|
|
56
|
+
*
|
|
52
57
|
* @private
|
|
58
|
+
* @returns {string} - Module Name
|
|
53
59
|
*/
|
|
54
60
|
Menu.prototype.getModuleName = function () {
|
|
55
61
|
return 'menu';
|
|
56
62
|
};
|
|
57
63
|
/**
|
|
58
64
|
* For internal use only - prerender processing.
|
|
65
|
+
*
|
|
59
66
|
* @private
|
|
67
|
+
* @returns {void}
|
|
60
68
|
*/
|
|
61
69
|
Menu.prototype.preRender = function () {
|
|
62
70
|
this.isMenu = true;
|
|
71
|
+
this.element.id = this.element.id || getUniqueID('ej2-menu');
|
|
63
72
|
if (this.template) {
|
|
64
73
|
try {
|
|
65
74
|
if (document.querySelectorAll(this.template).length) {
|
|
@@ -70,13 +79,10 @@ var Menu = /** @class */ (function (_super) {
|
|
|
70
79
|
catch (e) {
|
|
71
80
|
/* action on catch */
|
|
72
81
|
}
|
|
82
|
+
this.updateMenuItems(this.items);
|
|
73
83
|
}
|
|
74
84
|
else {
|
|
75
|
-
this.
|
|
76
|
-
this.items = [];
|
|
77
|
-
this.tempItems.map(this.createMenuItems, this);
|
|
78
|
-
this.setProperties({ items: this.items }, true);
|
|
79
|
-
this.tempItems = [];
|
|
85
|
+
this.updateMenuItems(this.items);
|
|
80
86
|
}
|
|
81
87
|
_super.prototype.preRender.call(this);
|
|
82
88
|
};
|
|
@@ -85,6 +91,9 @@ var Menu = /** @class */ (function (_super) {
|
|
|
85
91
|
attributes(this.element, { 'role': 'menubar', 'tabindex': '0' });
|
|
86
92
|
if (this.orientation === 'Vertical') {
|
|
87
93
|
this.element.classList.add(VMENU);
|
|
94
|
+
if (this.hamburgerMode && !this.target) {
|
|
95
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
96
|
+
}
|
|
88
97
|
this.element.setAttribute('aria-orientation', 'vertical');
|
|
89
98
|
}
|
|
90
99
|
else {
|
|
@@ -92,40 +101,127 @@ var Menu = /** @class */ (function (_super) {
|
|
|
92
101
|
this.element.parentElement.classList.add(SCROLLABLE);
|
|
93
102
|
}
|
|
94
103
|
}
|
|
104
|
+
if (this.hamburgerMode) {
|
|
105
|
+
this.element.parentElement.classList.add(HAMBURGER);
|
|
106
|
+
if (this.orientation === 'Horizontal') {
|
|
107
|
+
this.element.classList.add('e-hide-menu');
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
Menu.prototype.updateMenuItems = function (items) {
|
|
112
|
+
this.tempItems = items;
|
|
113
|
+
this.items = [];
|
|
114
|
+
this.tempItems.map(this.createMenuItems, this);
|
|
115
|
+
this.setProperties({ items: this.items }, true);
|
|
116
|
+
this.tempItems = [];
|
|
95
117
|
};
|
|
96
118
|
/**
|
|
97
|
-
* Called internally if any of the property value changed
|
|
119
|
+
* Called internally if any of the property value changed.
|
|
120
|
+
*
|
|
98
121
|
* @private
|
|
99
|
-
* @param {MenuModel} newProp
|
|
100
|
-
* @param {MenuModel} oldProp
|
|
101
|
-
* @returns void
|
|
122
|
+
* @param {MenuModel} newProp - Specifies the new properties.
|
|
123
|
+
* @param {MenuModel} oldProp - Specifies the old properties.
|
|
124
|
+
* @returns {void}
|
|
102
125
|
*/
|
|
103
126
|
Menu.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
104
|
-
|
|
127
|
+
var _this = this;
|
|
105
128
|
for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
|
|
106
129
|
var prop = _a[_i];
|
|
107
130
|
switch (prop) {
|
|
108
131
|
case 'orientation':
|
|
109
132
|
if (newProp.orientation === 'Vertical') {
|
|
110
133
|
this.element.classList.add(VMENU);
|
|
134
|
+
if (this.hamburgerMode) {
|
|
135
|
+
if (!this.target) {
|
|
136
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
137
|
+
}
|
|
138
|
+
this.element.classList.remove('e-hide-menu');
|
|
139
|
+
}
|
|
111
140
|
this.element.setAttribute('aria-orientation', 'vertical');
|
|
112
141
|
}
|
|
113
142
|
else {
|
|
114
143
|
this.element.classList.remove(VMENU);
|
|
144
|
+
if (this.hamburgerMode) {
|
|
145
|
+
if (!this.target) {
|
|
146
|
+
this.element.previousElementSibling.classList.remove(VMENU);
|
|
147
|
+
}
|
|
148
|
+
this.element.classList.add('e-hide-menu');
|
|
149
|
+
}
|
|
115
150
|
this.element.removeAttribute('aria-orientation');
|
|
116
151
|
}
|
|
117
152
|
break;
|
|
153
|
+
case 'items':
|
|
154
|
+
if (!Object.keys(oldProp.items).length) {
|
|
155
|
+
this.updateMenuItems(newProp.items);
|
|
156
|
+
}
|
|
157
|
+
break;
|
|
158
|
+
case 'hamburgerMode':
|
|
159
|
+
if (!this.element.previousElementSibling) {
|
|
160
|
+
_super.prototype.createHeaderContainer.call(this);
|
|
161
|
+
}
|
|
162
|
+
if (newProp.hamburgerMode) {
|
|
163
|
+
this.element.parentElement.classList.add(HAMBURGER);
|
|
164
|
+
[].slice.call(this.element.getElementsByClassName('e-blankicon')).forEach(function (li) {
|
|
165
|
+
li.style[_this.enableRtl ? 'paddingRight' : 'paddingLeft'] = '';
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
this.element.parentElement.classList.remove(HAMBURGER);
|
|
170
|
+
if (this.orientation === 'Vertical') {
|
|
171
|
+
this.setBlankIconStyle(this.element);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
if (this.orientation === 'Vertical') {
|
|
175
|
+
if (!this.target) {
|
|
176
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
177
|
+
}
|
|
178
|
+
this.element.classList.remove('e-hide-menu');
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
if (this.target) {
|
|
182
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
this.element.previousElementSibling.classList.remove(VMENU);
|
|
186
|
+
}
|
|
187
|
+
this.element.classList[newProp.hamburgerMode ? 'add' : 'remove']('e-hide-menu');
|
|
188
|
+
}
|
|
189
|
+
break;
|
|
190
|
+
case 'title':
|
|
191
|
+
if (this.hamburgerMode && this.element.previousElementSibling) {
|
|
192
|
+
newProp.title = (this.enableHtmlSanitizer) ? SanitizeHtmlHelper.sanitize(newProp.title) : newProp.title;
|
|
193
|
+
this.element.previousElementSibling.querySelector('.e-menu-title').innerHTML = newProp.title;
|
|
194
|
+
}
|
|
195
|
+
break;
|
|
196
|
+
case 'target':
|
|
197
|
+
if (this.hamburgerMode) {
|
|
198
|
+
this.unWireEvents(oldProp.target);
|
|
199
|
+
this.wireEvents();
|
|
200
|
+
if (this.orientation === 'Horizontal') {
|
|
201
|
+
if (!newProp.target) {
|
|
202
|
+
if (!this.element.previousElementSibling) {
|
|
203
|
+
_super.prototype.createHeaderContainer.call(this);
|
|
204
|
+
}
|
|
205
|
+
this.element.previousElementSibling.classList.remove(VMENU);
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
209
|
+
}
|
|
210
|
+
this.element.classList.add('e-hide-menu');
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
break;
|
|
118
214
|
}
|
|
119
215
|
}
|
|
216
|
+
_super.prototype.onPropertyChanged.call(this, newProp, oldProp);
|
|
120
217
|
};
|
|
121
218
|
Menu.prototype.createMenuItems = function (item) {
|
|
122
|
-
var pIdField;
|
|
123
219
|
var idx;
|
|
124
220
|
var i;
|
|
125
221
|
var items = this.items;
|
|
126
|
-
pIdField = this.getField('parentId');
|
|
127
|
-
if (item[pIdField]) {
|
|
128
|
-
idx = this.getIndex(item[pIdField].toString(), true);
|
|
222
|
+
var pIdField = this.getField('parentId');
|
|
223
|
+
if (item["" + pIdField]) {
|
|
224
|
+
idx = this.getIndex(item["" + pIdField].toString(), true);
|
|
129
225
|
for (i = 0; i < idx.length; i++) {
|
|
130
226
|
if (!items[idx[i]].items) {
|
|
131
227
|
items[idx[i]].items = [];
|
|
@@ -138,9 +234,30 @@ var Menu = /** @class */ (function (_super) {
|
|
|
138
234
|
this.items.push(item);
|
|
139
235
|
}
|
|
140
236
|
};
|
|
237
|
+
/**
|
|
238
|
+
* This method is used to open the Menu in hamburger mode.
|
|
239
|
+
*
|
|
240
|
+
* @function open
|
|
241
|
+
* @returns {void}
|
|
242
|
+
*/
|
|
243
|
+
Menu.prototype.open = function () {
|
|
244
|
+
_super.prototype.openHamburgerMenu.call(this);
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* Closes the Menu if it is opened in hamburger mode.
|
|
248
|
+
*
|
|
249
|
+
* @function close
|
|
250
|
+
* @returns {void}
|
|
251
|
+
*/
|
|
252
|
+
Menu.prototype.close = function () {
|
|
253
|
+
_super.prototype.closeHamburgerMenu.call(this);
|
|
254
|
+
};
|
|
141
255
|
__decorate([
|
|
142
256
|
Property('Horizontal')
|
|
143
257
|
], Menu.prototype, "orientation", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
Property('')
|
|
260
|
+
], Menu.prototype, "target", void 0);
|
|
144
261
|
__decorate([
|
|
145
262
|
Property(null)
|
|
146
263
|
], Menu.prototype, "template", void 0);
|
|
@@ -148,7 +265,16 @@ var Menu = /** @class */ (function (_super) {
|
|
|
148
265
|
Property(false)
|
|
149
266
|
], Menu.prototype, "enableScrolling", void 0);
|
|
150
267
|
__decorate([
|
|
151
|
-
|
|
268
|
+
Property(false)
|
|
269
|
+
], Menu.prototype, "hamburgerMode", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
Property('Menu')
|
|
272
|
+
], Menu.prototype, "title", void 0);
|
|
273
|
+
__decorate([
|
|
274
|
+
Property(false)
|
|
275
|
+
], Menu.prototype, "enableHtmlSanitizer", void 0);
|
|
276
|
+
__decorate([
|
|
277
|
+
Complex({ itemId: 'id', text: 'text', parentId: 'parentId', iconCss: 'iconCss', url: 'url', separator: 'separator', children: 'items' }, FieldSettings)
|
|
152
278
|
], Menu.prototype, "fields", void 0);
|
|
153
279
|
Menu = __decorate([
|
|
154
280
|
NotifyPropertyChanges
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { Component, formatUnit, EventHandler, Event, isNullOrUndefined, closest, Browser } from '@syncfusion/ej2-base';import { Property, EmitType, NotifyPropertyChanges, INotifyPropertyChanged, isNullOrUndefined as isNOU } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, addClass, removeClass, Touch, SwipeEventArgs } from '@syncfusion/ej2-base';
|
|
2
2
|
import {SidebarPosition,SidebarType,EventArgs,ChangeEventArgs} from "./sidebar";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -9,30 +9,33 @@ export interface SidebarModel extends ComponentModel{
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Specifies the size of the Sidebar in dock state.
|
|
12
|
-
* > For more details about dockSize refer to
|
|
13
|
-
* [`Dock`](https://ej2.syncfusion.com/documentation/sidebar/docking-sidebar
|
|
12
|
+
* > For more details about dockSize refer to
|
|
13
|
+
* [`Dock`](https://ej2.syncfusion.com/documentation/sidebar/docking-sidebar/) documentation.
|
|
14
|
+
*
|
|
14
15
|
* @default 'auto'
|
|
15
16
|
*/
|
|
16
17
|
dockSize?: string | number;
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
|
-
* Specifies the media query
|
|
20
|
+
* Specifies the media query string for resolution, which when met opens the Sidebar.
|
|
20
21
|
* ```typescript
|
|
21
22
|
* let defaultSidebar: Sidebar = new Sidebar({
|
|
22
|
-
* mediaQuery:
|
|
23
|
+
* mediaQuery:'(min-width: 600px)'
|
|
23
24
|
* });
|
|
24
25
|
* ```
|
|
25
|
-
* > For more details about mediaQuery refer to
|
|
26
|
-
* [`Auto Close`](https://ej2.syncfusion.com/documentation/sidebar/
|
|
26
|
+
* > For more details about mediaQuery refer to
|
|
27
|
+
* [`Auto Close`](https://ej2.syncfusion.com/documentation/sidebar/auto-close/) documentation.
|
|
28
|
+
*
|
|
27
29
|
* @default null
|
|
28
|
-
* @
|
|
30
|
+
* @aspType string
|
|
29
31
|
*/
|
|
30
|
-
mediaQuery?: MediaQueryList;
|
|
32
|
+
mediaQuery?: string | MediaQueryList;
|
|
31
33
|
|
|
32
34
|
/**
|
|
33
35
|
* Specifies the docking state of the component.
|
|
34
|
-
* > For more details about enableDock refer to
|
|
35
|
-
* [`Dock`](https://ej2.syncfusion.com/documentation/sidebar/docking-sidebar
|
|
36
|
+
* > For more details about enableDock refer to
|
|
37
|
+
* [`Dock`](https://ej2.syncfusion.com/documentation/sidebar/docking-sidebar/) documentation.
|
|
38
|
+
*
|
|
36
39
|
* @default false
|
|
37
40
|
*/
|
|
38
41
|
enableDock?: boolean;
|
|
@@ -40,6 +43,7 @@ export interface SidebarModel extends ComponentModel{
|
|
|
40
43
|
/**
|
|
41
44
|
* Enables the expand or collapse while swiping in touch devices.
|
|
42
45
|
* This is not a sidebar property.
|
|
46
|
+
*
|
|
43
47
|
* @default 'en-US'
|
|
44
48
|
* @private
|
|
45
49
|
*/
|
|
@@ -49,36 +53,44 @@ export interface SidebarModel extends ComponentModel{
|
|
|
49
53
|
* Enable or disable persisting component's state between page reloads. If enabled, following list of states will be persisted.
|
|
50
54
|
* 1. Position
|
|
51
55
|
* 2. Type
|
|
56
|
+
*
|
|
52
57
|
* @default false
|
|
53
58
|
*/
|
|
54
59
|
enablePersistence?: boolean;
|
|
55
60
|
|
|
56
61
|
/**
|
|
57
62
|
* Enables the expand or collapse while swiping in touch devices.
|
|
63
|
+
*
|
|
58
64
|
* @default true
|
|
59
65
|
*/
|
|
60
66
|
enableGestures?: boolean;
|
|
61
67
|
|
|
62
68
|
/**
|
|
63
69
|
* Gets or sets the Sidebar component is open or close.
|
|
70
|
+
* > When the Sidebar type is set to `Auto`,
|
|
71
|
+
* the component will be expanded in the desktop and collapsed in the mobile mode regardless of the isOpen property.
|
|
72
|
+
*
|
|
64
73
|
* @default false
|
|
65
74
|
*/
|
|
66
75
|
isOpen?: boolean;
|
|
67
76
|
|
|
68
77
|
/**
|
|
69
78
|
* Specifies the Sidebar in RTL mode that displays the content in the right-to-left direction.
|
|
79
|
+
*
|
|
70
80
|
* @default false
|
|
71
81
|
*/
|
|
72
82
|
enableRtl?: boolean;
|
|
73
83
|
|
|
74
84
|
/**
|
|
75
85
|
* Enable or disable the animation transitions on expanding or collapsing the Sidebar.
|
|
86
|
+
*
|
|
76
87
|
* @default true
|
|
77
88
|
*/
|
|
78
89
|
animate?: boolean;
|
|
79
90
|
|
|
80
91
|
/**
|
|
81
92
|
* Specifies the height of the Sidebar.
|
|
93
|
+
*
|
|
82
94
|
* @default 'auto'
|
|
83
95
|
* @private
|
|
84
96
|
*/
|
|
@@ -86,30 +98,34 @@ export interface SidebarModel extends ComponentModel{
|
|
|
86
98
|
|
|
87
99
|
/**
|
|
88
100
|
* Specifies whether the Sidebar need to be closed or not when document area is clicked.
|
|
101
|
+
*
|
|
89
102
|
* @default false
|
|
90
103
|
*/
|
|
91
104
|
closeOnDocumentClick?: boolean;
|
|
92
105
|
|
|
93
106
|
/**
|
|
94
107
|
* Specifies the position of the Sidebar (Left/Right) corresponding to the main content.
|
|
95
|
-
* > For more details about SidebarPosition refer to
|
|
96
|
-
* [`position`](https://ej2.syncfusion.com/documentation/sidebar/getting-started
|
|
108
|
+
* > For more details about SidebarPosition refer to
|
|
109
|
+
* [`position`](https://ej2.syncfusion.com/documentation/sidebar/getting-started/#position) documentation.
|
|
110
|
+
*
|
|
97
111
|
* @default 'Left'
|
|
98
112
|
*/
|
|
99
113
|
position?: SidebarPosition;
|
|
100
114
|
|
|
101
115
|
/**
|
|
102
116
|
* Allows to place the sidebar inside the target element.
|
|
103
|
-
* > For more details about target refer to
|
|
104
|
-
* [`Custom Context`](https://ej2.syncfusion.com/documentation/sidebar/custom-context
|
|
117
|
+
* > For more details about target refer to
|
|
118
|
+
* [`Custom Context`](https://ej2.syncfusion.com/documentation/sidebar/custom-context/) documentation.
|
|
119
|
+
*
|
|
105
120
|
* @default null
|
|
106
121
|
*/
|
|
107
122
|
target?: HTMLElement | string;
|
|
108
123
|
|
|
109
124
|
/**
|
|
110
125
|
* Specifies the whether to apply overlay options to main content when the Sidebar is in an open state.
|
|
111
|
-
* > For more details about showBackdrop refer to
|
|
112
|
-
* [`Backdrop`](https://ej2.syncfusion.com/documentation/sidebar/getting-started
|
|
126
|
+
* > For more details about showBackdrop refer to
|
|
127
|
+
* [`Backdrop`](https://ej2.syncfusion.com/documentation/sidebar/getting-started/#enable-backdrop) documentation.
|
|
128
|
+
*
|
|
113
129
|
* @default false
|
|
114
130
|
*/
|
|
115
131
|
showBackdrop?: boolean;
|
|
@@ -118,11 +134,12 @@ export interface SidebarModel extends ComponentModel{
|
|
|
118
134
|
* Specifies the expanding types of the Sidebar.
|
|
119
135
|
* * `Over` - The sidebar floats over the main content area.
|
|
120
136
|
* * `Push` - The sidebar pushes the main content area to appear side-by-side, and shrinks the main content within the screen width.
|
|
121
|
-
* * `Slide` - The sidebar translates the x and y positions of main content area based on the sidebar width.
|
|
137
|
+
* * `Slide` - The sidebar translates the x and y positions of main content area based on the sidebar width.
|
|
122
138
|
* The main content area will not be adjusted within the screen width.
|
|
123
139
|
* * `Auto` - Sidebar with `Over` type in mobile resolution and `Push` type in other higher resolutions.
|
|
124
|
-
* > For more details about SidebarType refer to
|
|
125
|
-
* [`SidebarType`](
|
|
140
|
+
* > For more details about SidebarType refer to
|
|
141
|
+
* [`SidebarType`](../../sidebar/variations/) documentation.
|
|
142
|
+
*
|
|
126
143
|
* @default 'Auto'
|
|
127
144
|
*/
|
|
128
145
|
type?: SidebarType;
|
|
@@ -130,44 +147,56 @@ export interface SidebarModel extends ComponentModel{
|
|
|
130
147
|
/**
|
|
131
148
|
* Specifies the width of the Sidebar. By default, the width of the Sidebar sets based on the size of its content.
|
|
132
149
|
* Width can also be set in pixel values.
|
|
150
|
+
*
|
|
133
151
|
* @default 'auto'
|
|
134
152
|
*/
|
|
135
153
|
width?: string | number;
|
|
136
154
|
|
|
137
155
|
/**
|
|
138
156
|
* Specifies the z-index of the Sidebar. It is applicable only when sidebar act as overlay type.
|
|
157
|
+
*
|
|
139
158
|
* @default 1000
|
|
159
|
+
* @aspType double
|
|
140
160
|
*/
|
|
141
161
|
zIndex?: string | number;
|
|
142
162
|
|
|
143
163
|
/**
|
|
144
164
|
* Triggers when component is created.
|
|
145
|
-
*
|
|
165
|
+
*
|
|
166
|
+
* @event
|
|
167
|
+
*
|
|
168
|
+
*
|
|
146
169
|
*/
|
|
170
|
+
/* eslint-disable */
|
|
147
171
|
created?: EmitType<Object>;
|
|
148
172
|
|
|
149
173
|
/**
|
|
150
174
|
* Triggers when component is closed.
|
|
151
|
-
*
|
|
175
|
+
*
|
|
176
|
+
* @event
|
|
152
177
|
*/
|
|
153
178
|
close?: EmitType<EventArgs>;
|
|
154
179
|
|
|
155
180
|
/**
|
|
156
181
|
* Triggers when component is opened.
|
|
157
|
-
*
|
|
182
|
+
*
|
|
183
|
+
* @event
|
|
158
184
|
*/
|
|
159
185
|
open?: EmitType<EventArgs>;
|
|
160
186
|
|
|
161
187
|
/**
|
|
162
188
|
* Triggers when the state(expand/collapse) of the component is changed.
|
|
163
|
-
*
|
|
189
|
+
*
|
|
190
|
+
* @event
|
|
164
191
|
*/
|
|
165
192
|
change?: EmitType<ChangeEventArgs>;
|
|
166
193
|
|
|
167
194
|
/**
|
|
168
195
|
* Triggers when component gets destroyed.
|
|
169
|
-
*
|
|
196
|
+
*
|
|
197
|
+
* @event
|
|
170
198
|
*/
|
|
199
|
+
/* eslint-disable */
|
|
171
200
|
destroyed?: EmitType<Object>;
|
|
172
201
|
|
|
173
202
|
}
|