@covalent/core 4.0.0 → 4.1.0-develop.2
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/README.md +5 -4
- package/breadcrumbs/README.md +21 -17
- package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -1
- package/breadcrumbs/breadcrumbs.component.d.ts +4 -0
- package/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/breadcrumbs/covalent-core-breadcrumbs.d.ts +2 -1
- package/breadcrumbs/package.json +6 -7
- package/breadcrumbs/{public-api.d.ts → public_api.d.ts} +0 -0
- package/common/README.md +3 -0
- package/common/_common-theme.scss +3 -1
- package/common/behaviors/disable-ripple.mixin.d.ts +1 -1
- package/common/behaviors/disabled.mixin.d.ts +1 -1
- package/common/common.module.d.ts +15 -0
- package/common/covalent-core-common.d.ts +2 -3
- package/common/directives/fullscreen/fullscreen.directive.d.ts +3 -0
- package/common/forms/auto-trim/auto-trim.directive.d.ts +3 -0
- package/common/package.json +6 -7
- package/common/pipes/bytes/bytes.pipe.d.ts +3 -0
- package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +3 -0
- package/common/pipes/digits/digits.pipe.d.ts +3 -0
- package/common/pipes/time-ago/time-ago.pipe.d.ts +3 -0
- package/common/pipes/time-difference/time-difference.pipe.d.ts +3 -0
- package/common/pipes/time-until/time-until.pipe.d.ts +3 -0
- package/common/pipes/truncate/truncate.pipe.d.ts +4 -1
- package/common/{public-api.d.ts → public_api.d.ts} +0 -0
- package/common/services/icon.service.d.ts +3 -0
- package/common/services/router-path.service.d.ts +3 -0
- package/common/styles/font/README.md +4 -2
- package/covalent-core.d.ts +2 -1
- package/dialogs/README.md +38 -30
- package/dialogs/_dialog-theme.scss +1 -0
- package/dialogs/alert-dialog/alert-dialog.component.d.ts +6 -3
- package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +5 -2
- package/dialogs/covalent-core-dialogs.d.ts +2 -2
- package/dialogs/dialog.component.d.ts +9 -0
- package/dialogs/dialogs.module.d.ts +17 -0
- package/dialogs/package.json +6 -7
- package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +6 -3
- package/dialogs/{public-api.d.ts → public_api.d.ts} +1 -0
- package/dialogs/services/dialog.service.d.ts +3 -0
- package/dialogs/src/README.md +223 -0
- package/dialogs/window-dialog/window-dialog.component.d.ts +8 -5
- package/dynamic-menu/README.md +6 -6
- package/dynamic-menu/covalent-core-dynamic-menu.d.ts +2 -2
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +4 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +4 -1
- package/dynamic-menu/dynamic-menu.component.d.ts +4 -22
- package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
- package/dynamic-menu/dynamic-menu.module.d.ts +13 -0
- package/dynamic-menu/package.json +6 -7
- package/dynamic-menu/public_api.d.ts +2 -0
- package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +92 -0
- package/esm2020/breadcrumbs/breadcrumbs.component.mjs +134 -0
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +20 -0
- package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +5 -0
- package/esm2020/breadcrumbs/public_api.mjs +4 -0
- package/esm2020/common/animations/bounce/bounce.animation.mjs +70 -0
- package/esm2020/common/animations/collapse/collapse.animation.mjs +51 -0
- package/esm2020/common/animations/common/interfaces.mjs +2 -0
- package/esm2020/common/animations/fade/fadeInOut.animation.mjs +37 -0
- package/esm2020/common/animations/flash/flash.animation.mjs +34 -0
- package/esm2020/common/animations/headshake/headshake.animation.mjs +47 -0
- package/esm2020/common/animations/jello/jello.animation.mjs +59 -0
- package/esm2020/common/animations/pulse/pulse.animation.mjs +32 -0
- package/esm2020/common/animations/rotate/rotate.animation.mjs +30 -0
- package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +41 -0
- package/esm2020/common/behaviors/disable-ripple.mixin.mjs +24 -0
- package/esm2020/common/behaviors/disabled.mixin.mjs +24 -0
- package/esm2020/common/common.module.mjs +63 -0
- package/esm2020/common/covalent-core-common.mjs +5 -0
- package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +85 -0
- package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +36 -0
- package/esm2020/common/forms/validators/validators.mjs +29 -0
- package/esm2020/common/functions/clipboard.mjs +23 -0
- package/esm2020/common/functions/convert.mjs +84 -0
- package/esm2020/common/functions/download.mjs +75 -0
- package/esm2020/common/functions/file.mjs +16 -0
- package/esm2020/common/pipes/bytes/bytes.pipe.mjs +42 -0
- package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +42 -0
- package/esm2020/common/pipes/digits/digits.pipe.mjs +39 -0
- package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +72 -0
- package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +51 -0
- package/esm2020/common/pipes/time-until/time-until.pipe.mjs +72 -0
- package/esm2020/common/pipes/truncate/truncate.pipe.mjs +27 -0
- package/esm2020/common/public_api.mjs +39 -0
- package/esm2020/common/services/icon.service.mjs +1089 -0
- package/esm2020/common/services/router-path.service.mjs +29 -0
- package/esm2020/covalent-core.mjs +5 -0
- package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +23 -0
- package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +28 -0
- package/esm2020/dialogs/covalent-core-dialogs.mjs +5 -0
- package/esm2020/dialogs/dialog.component.mjs +56 -0
- package/esm2020/dialogs/dialogs.module.mjs +89 -0
- package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +46 -0
- package/esm2020/dialogs/public_api.mjs +9 -0
- package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +216 -0
- package/esm2020/dialogs/services/dialog.service.mjs +171 -0
- package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +38 -0
- package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +5 -0
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +30 -0
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +24 -0
- package/esm2020/dynamic-menu/dynamic-menu.component.mjs +28 -0
- package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
- package/esm2020/dynamic-menu/dynamic-menu.module.mjs +57 -0
- package/esm2020/dynamic-menu/public_api.mjs +6 -0
- package/esm2020/file/covalent-core-file.mjs +5 -0
- package/esm2020/file/directives/file-drop.directive.mjs +147 -0
- package/esm2020/file/directives/file-select.directive.mjs +77 -0
- package/esm2020/file/file-input/file-input.component.mjs +110 -0
- package/esm2020/file/file-upload/file-upload.component.mjs +174 -0
- package/esm2020/file/file.module.mjs +58 -0
- package/esm2020/file/public_api.mjs +7 -0
- package/esm2020/file/services/file.service.mjs +64 -0
- package/esm2020/json-formatter/collapse.animation.mjs +51 -0
- package/esm2020/json-formatter/covalent-core-json-formatter.mjs +5 -0
- package/esm2020/json-formatter/json-formatter.component.mjs +217 -0
- package/esm2020/json-formatter/json-formatter.module.mjs +20 -0
- package/esm2020/json-formatter/public_api.mjs +3 -0
- package/esm2020/layout/covalent-core-layout.mjs +5 -0
- package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +40 -0
- package/esm2020/layout/layout-footer/layout-footer.component.mjs +33 -0
- package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +93 -0
- package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +84 -0
- package/esm2020/layout/layout-nav/layout-nav.component.mjs +50 -0
- package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +128 -0
- package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +84 -0
- package/esm2020/layout/layout-toggle.class.mjs +92 -0
- package/esm2020/layout/layout.component.mjs +92 -0
- package/esm2020/layout/layout.directives.mjs +85 -0
- package/esm2020/layout/layout.module.mjs +117 -0
- package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +161 -0
- package/esm2020/layout/public_api.mjs +13 -0
- package/esm2020/menu/covalent-core-menu.mjs +5 -0
- package/esm2020/menu/menu.component.mjs +12 -0
- package/esm2020/menu/menu.module.mjs +21 -0
- package/esm2020/menu/public_api.mjs +3 -0
- package/esm2020/message/collapse.animation.mjs +51 -0
- package/esm2020/message/covalent-core-message.mjs +5 -0
- package/esm2020/message/message.component.mjs +203 -0
- package/esm2020/message/message.module.mjs +25 -0
- package/esm2020/message/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/search/covalent-core-search.mjs +5 -0
- package/esm2020/search/public_api.mjs +4 -0
- package/esm2020/search/search-box/search-box.component.mjs +194 -0
- package/esm2020/search/search-input/search-input.component.mjs +203 -0
- package/esm2020/search/search.module.mjs +39 -0
- package/esm2020/side-sheet/covalent-core-side-sheet.mjs +5 -0
- package/esm2020/side-sheet/public_api.mjs +6 -0
- package/esm2020/side-sheet/side-sheet-container.mjs +274 -0
- package/esm2020/side-sheet/side-sheet-ref.mjs +21 -0
- package/esm2020/side-sheet/side-sheet.animation.mjs +12 -0
- package/esm2020/side-sheet/side-sheet.config.mjs +4 -0
- package/esm2020/side-sheet/side-sheet.content-directives.mjs +201 -0
- package/esm2020/side-sheet/side-sheet.mjs +221 -0
- package/esm2020/side-sheet/side-sheet.module.mjs +45 -0
- package/esm2020/user-profile/covalent-core-user-profile.mjs +5 -0
- package/esm2020/user-profile/public_api.mjs +4 -0
- package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +24 -0
- package/esm2020/user-profile/user-profile.component.mjs +19 -0
- package/esm2020/user-profile/user-profile.module.mjs +44 -0
- package/fesm2015/covalent-core-breadcrumbs.mjs +246 -0
- package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -0
- package/fesm2015/covalent-core-common.mjs +2281 -0
- package/fesm2015/covalent-core-common.mjs.map +1 -0
- package/fesm2015/covalent-core-dialogs.mjs +639 -0
- package/fesm2015/covalent-core-dialogs.mjs.map +1 -0
- package/fesm2015/covalent-core-dynamic-menu.mjs +128 -0
- package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -0
- package/fesm2015/covalent-core-file.mjs +613 -0
- package/fesm2015/covalent-core-file.mjs.map +1 -0
- package/fesm2015/covalent-core-json-formatter.mjs +298 -0
- package/fesm2015/covalent-core-json-formatter.mjs.map +1 -0
- package/fesm2015/covalent-core-layout.mjs +1024 -0
- package/fesm2015/covalent-core-layout.mjs.map +1 -0
- package/fesm2015/covalent-core-menu.mjs +37 -0
- package/fesm2015/covalent-core-menu.mjs.map +1 -0
- package/fesm2015/covalent-core-message.mjs +284 -0
- package/fesm2015/covalent-core-message.mjs.map +1 -0
- package/fesm2015/covalent-core-search.mjs +428 -0
- package/fesm2015/covalent-core-search.mjs.map +1 -0
- package/fesm2015/covalent-core-side-sheet.mjs +762 -0
- package/fesm2015/covalent-core-side-sheet.mjs.map +1 -0
- package/fesm2015/covalent-core-user-profile.mjs +86 -0
- package/fesm2015/covalent-core-user-profile.mjs.map +1 -0
- package/fesm2015/covalent-core.mjs +4 -0
- package/fesm2015/covalent-core.mjs.map +1 -0
- package/fesm2020/covalent-core-breadcrumbs.mjs +246 -0
- package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -0
- package/{fesm2015/covalent-core-common.js → fesm2020/covalent-core-common.mjs} +317 -813
- package/fesm2020/covalent-core-common.mjs.map +1 -0
- package/fesm2020/covalent-core-dialogs.mjs +634 -0
- package/fesm2020/covalent-core-dialogs.mjs.map +1 -0
- package/fesm2020/covalent-core-dynamic-menu.mjs +128 -0
- package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -0
- package/fesm2020/covalent-core-file.mjs +607 -0
- package/fesm2020/covalent-core-file.mjs.map +1 -0
- package/fesm2020/covalent-core-json-formatter.mjs +290 -0
- package/fesm2020/covalent-core-json-formatter.mjs.map +1 -0
- package/fesm2020/covalent-core-layout.mjs +1000 -0
- package/fesm2020/covalent-core-layout.mjs.map +1 -0
- package/fesm2020/covalent-core-menu.mjs +37 -0
- package/fesm2020/covalent-core-menu.mjs.map +1 -0
- package/fesm2020/covalent-core-message.mjs +282 -0
- package/fesm2020/covalent-core-message.mjs.map +1 -0
- package/fesm2020/covalent-core-search.mjs +425 -0
- package/fesm2020/covalent-core-search.mjs.map +1 -0
- package/fesm2020/covalent-core-side-sheet.mjs +757 -0
- package/fesm2020/covalent-core-side-sheet.mjs.map +1 -0
- package/fesm2020/covalent-core-user-profile.mjs +86 -0
- package/fesm2020/covalent-core-user-profile.mjs.map +1 -0
- package/fesm2020/covalent-core.mjs +4 -0
- package/fesm2020/covalent-core.mjs.map +1 -0
- package/file/_file-theme.scss +3 -1
- package/file/covalent-core-file.d.ts +2 -1
- package/file/directives/file-drop.directive.d.ts +8 -6
- package/file/directives/file-select.directive.d.ts +5 -2
- package/file/file-input/file-input.component.d.ts +10 -5
- package/file/file-upload/file-upload.component.d.ts +18 -8
- package/file/file.module.d.ts +13 -0
- package/file/package.json +6 -7
- package/file/{public-api.d.ts → public_api.d.ts} +0 -0
- package/file/services/file.service.d.ts +3 -0
- package/file/{file-input → src/file-input}/README.md +46 -37
- package/file/{file-upload → src/file-upload}/README.md +36 -27
- package/json-formatter/README.md +8 -8
- package/json-formatter/_json-formatter-theme.scss +10 -0
- package/json-formatter/collapse.animation.d.ts +24 -0
- package/json-formatter/covalent-core-json-formatter.d.ts +2 -1
- package/json-formatter/json-formatter.component.d.ts +7 -4
- package/json-formatter/json-formatter.module.d.ts +8 -0
- package/json-formatter/package.json +6 -7
- package/json-formatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/layout/README.md +48 -50
- package/layout/_layout-theme.scss +12 -0
- package/layout/covalent-core-layout.d.ts +2 -1
- package/layout/layout-card-over/layout-card-over.component.d.ts +6 -3
- package/layout/layout-footer/layout-footer.component.d.ts +6 -3
- package/layout/layout-manage-list/layout-manage-list.component.d.ts +7 -4
- package/layout/layout-manage-list/layout-manage-list.directives.d.ts +9 -2
- package/layout/layout-nav/layout-nav.component.d.ts +8 -5
- package/layout/layout-nav-list/layout-nav-list.component.d.ts +12 -9
- package/layout/layout-nav-list/layout-nav-list.directives.d.ts +9 -2
- package/layout/layout-toggle.class.d.ts +4 -1
- package/layout/layout.component.d.ts +7 -4
- package/layout/layout.directives.d.ts +9 -2
- package/layout/layout.module.d.ts +23 -0
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +17 -10
- package/layout/package.json +6 -7
- package/layout/{public-api.d.ts → public_api.d.ts} +0 -0
- package/layout/{layout-card-over → src/layout-card-over}/README.md +19 -17
- package/layout/{layout-manage-list → src/layout-manage-list}/README.md +24 -28
- package/layout/src/layout-nav/README.md +50 -0
- package/layout/{layout-nav-list → src/layout-nav-list}/README.md +44 -40
- package/menu/covalent-core-menu.d.ts +2 -1
- package/menu/menu.component.d.ts +3 -0
- package/menu/menu.module.d.ts +8 -0
- package/menu/package.json +6 -7
- package/menu/{public-api.d.ts → public_api.d.ts} +0 -0
- package/message/README.md +26 -18
- package/message/_message-theme.scss +3 -0
- package/message/collapse.animation.d.ts +24 -0
- package/message/covalent-core-message.d.ts +2 -1
- package/message/message.component.d.ts +9 -4
- package/message/message.module.d.ts +7 -0
- package/message/package.json +6 -7
- package/message/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +129 -37
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/search/README.md +74 -73
- package/search/covalent-core-search.d.ts +2 -1
- package/search/package.json +6 -7
- package/search/{public-api.d.ts → public_api.d.ts} +0 -0
- package/search/search-box/search-box.component.d.ts +12 -5
- package/search/search-input/search-input.component.d.ts +12 -5
- package/search/search.module.d.ts +11 -0
- package/search/src/search-box/README.md +73 -0
- package/search/src/search-input/README.md +74 -0
- package/side-sheet/README.md +3 -5
- package/side-sheet/{side-sheet.theme.scss → _side-sheet.theme.scss} +0 -0
- package/side-sheet/covalent-core-side-sheet.d.ts +2 -3
- package/side-sheet/package.json +6 -7
- package/side-sheet/{public-api.d.ts → public_api.d.ts} +0 -0
- package/side-sheet/side-sheet-container.d.ts +21 -5
- package/side-sheet/side-sheet.content-directives.d.ts +23 -6
- package/side-sheet/side-sheet.d.ts +7 -2
- package/side-sheet/side-sheet.module.d.ts +9 -0
- package/user-profile/README.md +5 -5
- package/user-profile/covalent-core-user-profile.d.ts +2 -1
- package/user-profile/package.json +6 -7
- package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +5 -2
- package/user-profile/user-profile.component.d.ts +5 -2
- package/user-profile/user-profile.module.d.ts +12 -0
- package/breadcrumbs/breadcrumb/breadcrumb.component.scss +0 -22
- package/breadcrumbs/breadcrumbs.component.scss +0 -7
- package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +0 -1
- package/breadcrumbs/index.d.ts +0 -1
- package/bundles/covalent-core-breadcrumbs.umd.js +0 -490
- package/bundles/covalent-core-breadcrumbs.umd.js.map +0 -1
- package/bundles/covalent-core-breadcrumbs.umd.min.js +0 -2
- package/bundles/covalent-core-breadcrumbs.umd.min.js.map +0 -1
- package/bundles/covalent-core-common.umd.js +0 -3188
- package/bundles/covalent-core-common.umd.js.map +0 -1
- package/bundles/covalent-core-common.umd.min.js +0 -17
- package/bundles/covalent-core-common.umd.min.js.map +0 -1
- package/bundles/covalent-core-dialogs.umd.js +0 -1318
- package/bundles/covalent-core-dialogs.umd.js.map +0 -1
- package/bundles/covalent-core-dialogs.umd.min.js +0 -2
- package/bundles/covalent-core-dialogs.umd.min.js.map +0 -1
- package/bundles/covalent-core-dynamic-menu.umd.js +0 -215
- package/bundles/covalent-core-dynamic-menu.umd.js.map +0 -1
- package/bundles/covalent-core-dynamic-menu.umd.min.js +0 -2
- package/bundles/covalent-core-dynamic-menu.umd.min.js.map +0 -1
- package/bundles/covalent-core-file.umd.js +0 -1211
- package/bundles/covalent-core-file.umd.js.map +0 -1
- package/bundles/covalent-core-file.umd.min.js +0 -17
- package/bundles/covalent-core-file.umd.min.js.map +0 -1
- package/bundles/covalent-core-json-formatter.umd.js +0 -408
- package/bundles/covalent-core-json-formatter.umd.js.map +0 -1
- package/bundles/covalent-core-json-formatter.umd.min.js +0 -2
- package/bundles/covalent-core-json-formatter.umd.min.js.map +0 -1
- package/bundles/covalent-core-layout.umd.js +0 -2084
- package/bundles/covalent-core-layout.umd.js.map +0 -1
- package/bundles/covalent-core-layout.umd.min.js +0 -17
- package/bundles/covalent-core-layout.umd.min.js.map +0 -1
- package/bundles/covalent-core-menu.umd.js +0 -69
- package/bundles/covalent-core-menu.umd.js.map +0 -1
- package/bundles/covalent-core-menu.umd.min.js +0 -2
- package/bundles/covalent-core-menu.umd.min.js.map +0 -1
- package/bundles/covalent-core-message.umd.js +0 -375
- package/bundles/covalent-core-message.umd.js.map +0 -1
- package/bundles/covalent-core-message.umd.min.js +0 -2
- package/bundles/covalent-core-message.umd.min.js.map +0 -1
- package/bundles/covalent-core-search.umd.js +0 -877
- package/bundles/covalent-core-search.umd.js.map +0 -1
- package/bundles/covalent-core-search.umd.min.js +0 -16
- package/bundles/covalent-core-search.umd.min.js.map +0 -1
- package/bundles/covalent-core-side-sheet.umd.js +0 -1458
- package/bundles/covalent-core-side-sheet.umd.js.map +0 -1
- package/bundles/covalent-core-side-sheet.umd.min.js +0 -16
- package/bundles/covalent-core-side-sheet.umd.min.js.map +0 -1
- package/bundles/covalent-core-user-profile.umd.js +0 -116
- package/bundles/covalent-core-user-profile.umd.js.map +0 -1
- package/bundles/covalent-core-user-profile.umd.min.js +0 -2
- package/bundles/covalent-core-user-profile.umd.min.js.map +0 -1
- package/bundles/covalent-core.umd.js +0 -9
- package/bundles/covalent-core.umd.js.map +0 -1
- package/bundles/covalent-core.umd.min.js +0 -2
- package/bundles/covalent-core.umd.min.js.map +0 -1
- package/common/covalent-core-common.metadata.json +0 -1
- package/common/index.d.ts +0 -1
- package/common/material-icons.css +0 -98
- package/common/material-icons.css.map +0 -1
- package/common/material-icons.scss +0 -3
- package/common/platform.css +0 -15424
- package/common/platform.css.map +0 -1
- package/common/platform.scss +0 -7
- package/common/styles/_elevation.scss +0 -280
- package/common/styles/_layout.scss +0 -603
- package/common/styles/_palette-dark.scss +0 -326
- package/common/styles/_palette-light.scss +0 -637
- package/common/styles/_rtl.scss +0 -28
- package/common/styles/_styles.scss +0 -10
- package/common/styles/_theme-functions.scss +0 -25
- package/common/styles/_typography-functions.scss +0 -35
- package/common/styles/_variables.scss +0 -98
- package/common/styles/colors/_colors-dark.scss +0 -1072
- package/common/styles/colors/_colors-light.scss +0 -2487
- package/common/styles/colors/_colors.scss +0 -7
- package/common/styles/core/_button.scss +0 -59
- package/common/styles/core/_card.scss +0 -164
- package/common/styles/core/_content.scss +0 -42
- package/common/styles/core/_core.scss +0 -23
- package/common/styles/core/_divider.scss +0 -15
- package/common/styles/core/_icons.scss +0 -20
- package/common/styles/core/_list.scss +0 -8
- package/common/styles/core/_sidenav.scss +0 -20
- package/common/styles/core/_structure.scss +0 -128
- package/common/styles/core/_toolbar.scss +0 -46
- package/common/styles/core/_whiteframe.scss +0 -130
- package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
- package/common/styles/font/_font.scss +0 -93
- package/common/styles/utilities/_general.scss +0 -51
- package/common/styles/utilities/_pad.scss +0 -36
- package/common/styles/utilities/_pull.scss +0 -36
- package/common/styles/utilities/_push.scss +0 -36
- package/common/styles/utilities/_size.scss +0 -24
- package/common/styles/utilities/_text.scss +0 -84
- package/common/styles/utilities/_utilities.scss +0 -15
- package/covalent-core.metadata.json +0 -1
- package/dialogs/alert-dialog/alert-dialog.component.scss +0 -3
- package/dialogs/confirm-dialog/confirm-dialog.component.scss +0 -3
- package/dialogs/covalent-core-dialogs.metadata.json +0 -1
- package/dialogs/dialog.component.scss +0 -44
- package/dialogs/index.d.ts +0 -1
- package/dialogs/prompt-dialog/prompt-dialog.component.scss +0 -15
- package/dialogs/window-dialog/window-dialog.component.scss +0 -31
- package/dynamic-menu/covalent-core-dynamic-menu.metadata.json +0 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -6
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +0 -11
- package/dynamic-menu/dynamic-menu.component.scss +0 -0
- package/dynamic-menu/index.d.ts +0 -1
- package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +0 -171
- package/esm2015/breadcrumbs/breadcrumbs.component.js +0 -241
- package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -20
- package/esm2015/breadcrumbs/covalent-core-breadcrumbs.js +0 -10
- package/esm2015/breadcrumbs/index.js +0 -7
- package/esm2015/breadcrumbs/public-api.js +0 -9
- package/esm2015/common/animations/bounce/bounce.animation.js +0 -76
- package/esm2015/common/animations/collapse/collapse.animation.js +0 -67
- package/esm2015/common/animations/common/interfaces.js +0 -18
- package/esm2015/common/animations/fade/fadeInOut.animation.js +0 -53
- package/esm2015/common/animations/flash/flash.animation.js +0 -40
- package/esm2015/common/animations/headshake/headshake.animation.js +0 -41
- package/esm2015/common/animations/jello/jello.animation.js +0 -44
- package/esm2015/common/animations/pulse/pulse.animation.js +0 -38
- package/esm2015/common/animations/rotate/rotate.animation.js +0 -41
- package/esm2015/common/behaviors/control-value-accesor.mixin.js +0 -107
- package/esm2015/common/behaviors/disable-ripple.mixin.js +0 -63
- package/esm2015/common/behaviors/disabled.mixin.js +0 -63
- package/esm2015/common/common.module.js +0 -54
- package/esm2015/common/covalent-core-common.js +0 -12
- package/esm2015/common/directives/fullscreen/fullscreen.directive.js +0 -180
- package/esm2015/common/forms/auto-trim/auto-trim.directive.js +0 -46
- package/esm2015/common/forms/validators/validators.js +0 -58
- package/esm2015/common/functions/clipboard.js +0 -30
- package/esm2015/common/functions/convert.js +0 -103
- package/esm2015/common/functions/download.js +0 -88
- package/esm2015/common/functions/file.js +0 -29
- package/esm2015/common/index.js +0 -7
- package/esm2015/common/pipes/bytes/bytes.pipe.js +0 -41
- package/esm2015/common/pipes/decimal-bytes/decimal-bytes.pipe.js +0 -41
- package/esm2015/common/pipes/digits/digits.pipe.js +0 -65
- package/esm2015/common/pipes/time-ago/time-ago.pipe.js +0 -81
- package/esm2015/common/pipes/time-difference/time-difference.pipe.js +0 -66
- package/esm2015/common/pipes/time-until/time-until.pipe.js +0 -81
- package/esm2015/common/pipes/truncate/truncate.pipe.js +0 -34
- package/esm2015/common/public-api.js +0 -44
- package/esm2015/common/services/icon.service.js +0 -1109
- package/esm2015/common/services/router-path.service.js +0 -60
- package/esm2015/covalent-core.js +0 -10
- package/esm2015/dialogs/alert-dialog/alert-dialog.component.js +0 -47
- package/esm2015/dialogs/confirm-dialog/confirm-dialog.component.js +0 -59
- package/esm2015/dialogs/covalent-core-dialogs.js +0 -11
- package/esm2015/dialogs/dialog.component.js +0 -58
- package/esm2015/dialogs/dialogs.module.js +0 -57
- package/esm2015/dialogs/index.js +0 -7
- package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +0 -83
- package/esm2015/dialogs/public-api.js +0 -13
- package/esm2015/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +0 -325
- package/esm2015/dialogs/services/dialog.service.js +0 -316
- package/esm2015/dialogs/window-dialog/window-dialog.component.js +0 -56
- package/esm2015/dynamic-menu/covalent-core-dynamic-menu.js +0 -11
- package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +0 -40
- package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +0 -35
- package/esm2015/dynamic-menu/dynamic-menu.component.js +0 -89
- package/esm2015/dynamic-menu/dynamic-menu.module.js +0 -26
- package/esm2015/dynamic-menu/index.js +0 -7
- package/esm2015/dynamic-menu/public_api.js +0 -9
- package/esm2015/file/covalent-core-file.js +0 -10
- package/esm2015/file/directives/file-drop.directive.js +0 -191
- package/esm2015/file/directives/file-select.directive.js +0 -98
- package/esm2015/file/file-input/file-input.component.js +0 -186
- package/esm2015/file/file-upload/file-upload.component.js +0 -237
- package/esm2015/file/file.module.js +0 -35
- package/esm2015/file/index.js +0 -7
- package/esm2015/file/public-api.js +0 -12
- package/esm2015/file/services/file.service.js +0 -109
- package/esm2015/index.js +0 -7
- package/esm2015/json-formatter/covalent-core-json-formatter.js +0 -10
- package/esm2015/json-formatter/index.js +0 -7
- package/esm2015/json-formatter/json-formatter.component.js +0 -338
- package/esm2015/json-formatter/json-formatter.module.js +0 -20
- package/esm2015/json-formatter/public-api.js +0 -8
- package/esm2015/layout/covalent-core-layout.js +0 -10
- package/esm2015/layout/index.js +0 -7
- package/esm2015/layout/layout-card-over/layout-card-over.component.js +0 -71
- package/esm2015/layout/layout-footer/layout-footer.component.js +0 -71
- package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +0 -145
- package/esm2015/layout/layout-manage-list/layout-manage-list.directives.js +0 -132
- package/esm2015/layout/layout-nav/layout-nav.component.js +0 -100
- package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +0 -220
- package/esm2015/layout/layout-nav-list/layout-nav-list.directives.js +0 -132
- package/esm2015/layout/layout-toggle.class.js +0 -188
- package/esm2015/layout/layout.component.js +0 -145
- package/esm2015/layout/layout.directives.js +0 -129
- package/esm2015/layout/layout.module.js +0 -64
- package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +0 -280
- package/esm2015/layout/public-api.js +0 -18
- package/esm2015/menu/covalent-core-menu.js +0 -10
- package/esm2015/menu/index.js +0 -7
- package/esm2015/menu/menu.component.js +0 -16
- package/esm2015/menu/menu.module.js +0 -22
- package/esm2015/menu/public-api.js +0 -8
- package/esm2015/message/covalent-core-message.js +0 -10
- package/esm2015/message/index.js +0 -7
- package/esm2015/message/message.component.js +0 -307
- package/esm2015/message/message.module.js +0 -21
- package/esm2015/message/public-api.js +0 -8
- package/esm2015/search/covalent-core-search.js +0 -10
- package/esm2015/search/index.js +0 -7
- package/esm2015/search/public-api.js +0 -9
- package/esm2015/search/search-box/search-box.component.js +0 -270
- package/esm2015/search/search-input/search-input.component.js +0 -260
- package/esm2015/search/search.module.js +0 -23
- package/esm2015/side-sheet/covalent-core-side-sheet.js +0 -12
- package/esm2015/side-sheet/index.js +0 -7
- package/esm2015/side-sheet/public-api.js +0 -11
- package/esm2015/side-sheet/side-sheet-container.js +0 -402
- package/esm2015/side-sheet/side-sheet-ref.js +0 -50
- package/esm2015/side-sheet/side-sheet.animation.js +0 -20
- package/esm2015/side-sheet/side-sheet.config.js +0 -12
- package/esm2015/side-sheet/side-sheet.content-directives.js +0 -255
- package/esm2015/side-sheet/side-sheet.js +0 -360
- package/esm2015/side-sheet/side-sheet.module.js +0 -36
- package/esm2015/user-profile/covalent-core-user-profile.js +0 -10
- package/esm2015/user-profile/index.js +0 -7
- package/esm2015/user-profile/public_api.js +0 -9
- package/esm2015/user-profile/user-profile-menu/user-profile-menu.component.js +0 -35
- package/esm2015/user-profile/user-profile.component.js +0 -26
- package/esm2015/user-profile/user-profile.module.js +0 -25
- package/fesm2015/covalent-core-breadcrumbs.js +0 -448
- package/fesm2015/covalent-core-breadcrumbs.js.map +0 -1
- package/fesm2015/covalent-core-common.js.map +0 -1
- package/fesm2015/covalent-core-dialogs.js +0 -1001
- package/fesm2015/covalent-core-dialogs.js.map +0 -1
- package/fesm2015/covalent-core-dynamic-menu.js +0 -204
- package/fesm2015/covalent-core-dynamic-menu.js.map +0 -1
- package/fesm2015/covalent-core-file.js +0 -855
- package/fesm2015/covalent-core-file.js.map +0 -1
- package/fesm2015/covalent-core-json-formatter.js +0 -377
- package/fesm2015/covalent-core-json-formatter.js.map +0 -1
- package/fesm2015/covalent-core-layout.js +0 -1663
- package/fesm2015/covalent-core-layout.js.map +0 -1
- package/fesm2015/covalent-core-menu.js +0 -57
- package/fesm2015/covalent-core-menu.js.map +0 -1
- package/fesm2015/covalent-core-message.js +0 -347
- package/fesm2015/covalent-core-message.js.map +0 -1
- package/fesm2015/covalent-core-search.js +0 -564
- package/fesm2015/covalent-core-search.js.map +0 -1
- package/fesm2015/covalent-core-side-sheet.js +0 -1134
- package/fesm2015/covalent-core-side-sheet.js.map +0 -1
- package/fesm2015/covalent-core-user-profile.js +0 -103
- package/fesm2015/covalent-core-user-profile.js.map +0 -1
- package/fesm2015/covalent-core.js +0 -12
- package/fesm2015/covalent-core.js.map +0 -1
- package/file/covalent-core-file.metadata.json +0 -1
- package/file/file-input/file-input.component.scss +0 -20
- package/file/file-upload/file-upload.component.scss +0 -30
- package/file/index.d.ts +0 -1
- package/json-formatter/covalent-core-json-formatter.metadata.json +0 -1
- package/json-formatter/index.d.ts +0 -1
- package/json-formatter/json-formatter.component.scss +0 -61
- package/layout/covalent-core-layout.metadata.json +0 -1
- package/layout/index.d.ts +0 -1
- package/layout/layout-card-over/layout-card-over.component.scss +0 -42
- package/layout/layout-footer/layout-footer.component.scss +0 -4
- package/layout/layout-manage-list/layout-manage-list.component.scss +0 -78
- package/layout/layout-nav/README.md +0 -46
- package/layout/layout-nav/layout-nav.component.scss +0 -50
- package/layout/layout-nav-list/layout-nav-list.component.scss +0 -110
- package/layout/layout.component.scss +0 -20
- package/layout/navigation-drawer/navigation-drawer.component.scss +0 -73
- package/menu/covalent-core-menu.metadata.json +0 -1
- package/menu/index.d.ts +0 -1
- package/menu/menu.component.scss +0 -43
- package/message/covalent-core-message.metadata.json +0 -1
- package/message/index.d.ts +0 -1
- package/message/message.component.scss +0 -29
- package/schematics/README.md +0 -66
- package/schematics/collection.json +0 -11
- package/schematics/components.js +0 -111
- package/schematics/components.js.map +0 -1
- package/schematics/migration.json +0 -10
- package/schematics/ng-add/files/theme.scss +0 -64
- package/schematics/ng-add/index.js +0 -58
- package/schematics/ng-add/index.js.map +0 -1
- package/schematics/ng-add/schema.js +0 -3
- package/schematics/ng-add/schema.js.map +0 -1
- package/schematics/ng-add/schema.json +0 -81
- package/schematics/ng-update/index.js +0 -52
- package/schematics/ng-update/index.js.map +0 -1
- package/schematics/ng-update/target-version.js +0 -8
- package/schematics/ng-update/target-version.js.map +0 -1
- package/schematics/version-names.js +0 -6
- package/schematics/version-names.js.map +0 -1
- package/search/covalent-core-search.metadata.json +0 -1
- package/search/index.d.ts +0 -1
- package/search/search-box/README.md +0 -62
- package/search/search-box/search-box.component.scss +0 -32
- package/search/search-input/README.md +0 -65
- package/search/search-input/search-input.component.scss +0 -63
- package/side-sheet/covalent-core-side-sheet.metadata.json +0 -1
- package/side-sheet/index.d.ts +0 -1
- package/side-sheet/side-sheet.scss +0 -69
- package/theming/prebuilt/blue-grey-deep-orange.css +0 -2434
- package/theming/prebuilt/blue-grey-deep-orange.css.map +0 -1
- package/theming/prebuilt/blue-grey-deep-orange.scss +0 -13
- package/theming/prebuilt/blue-orange.css +0 -2434
- package/theming/prebuilt/blue-orange.css.map +0 -1
- package/theming/prebuilt/blue-orange.scss +0 -13
- package/theming/prebuilt/indigo-pink.css +0 -2434
- package/theming/prebuilt/indigo-pink.css.map +0 -1
- package/theming/prebuilt/indigo-pink.scss +0 -13
- package/theming/prebuilt/orange-light-blue.css +0 -2434
- package/theming/prebuilt/orange-light-blue.css.map +0 -1
- package/theming/prebuilt/orange-light-blue.scss +0 -13
- package/theming/prebuilt/teal-orange.css +0 -2434
- package/theming/prebuilt/teal-orange.css.map +0 -1
- package/theming/prebuilt/teal-orange.scss +0 -13
- package/user-profile/covalent-core-user-profile.metadata.json +0 -1
- package/user-profile/index.d.ts +0 -1
- package/user-profile/user-profile-menu/user-profile-menu.component.scss +0 -38
@@ -1,603 +0,0 @@
|
|
1
|
-
/* stylelint-disable function-url-quotes, no-duplicate-selectors */
|
2
|
-
|
3
|
-
/*
|
4
|
-
*
|
5
|
-
* Responsive attributes
|
6
|
-
*
|
7
|
-
* References:
|
8
|
-
* 1) https://scotch.io/tutorials/a-visual-guide-to-css3-flexbox-properties#flex
|
9
|
-
* 2) https://css-tricks.com/almanac/properties/f/flex/
|
10
|
-
* 3) https://css-tricks.com/snippets/css/a-guide-to-flexbox/
|
11
|
-
* 4) https://github.com/philipwalton/flexbugs#3-min-height-on-a-flex-container-wont-apply-to-its-flex-items
|
12
|
-
* 5) http://godban.com.ua/projects/flexgrid
|
13
|
-
*
|
14
|
-
*/
|
15
|
-
|
16
|
-
// Layout
|
17
|
-
// ------------------------------
|
18
|
-
|
19
|
-
$baseline-grid: 8px !default;
|
20
|
-
$layout-gutter-width: ($baseline-grid * 2) !default;
|
21
|
-
|
22
|
-
$layout-breakpoint-xs: 600px !default;
|
23
|
-
$layout-breakpoint-sm: 960px !default;
|
24
|
-
$layout-breakpoint-md: 1280px !default;
|
25
|
-
$layout-breakpoint-lg: 1920px !default;
|
26
|
-
|
27
|
-
@-moz-document url-prefix() {
|
28
|
-
[layout-fill] {
|
29
|
-
margin: 0;
|
30
|
-
width: 100%;
|
31
|
-
min-height: 100%;
|
32
|
-
height: 100%;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
@mixin flex-order-for-name($sizes: null) {
|
37
|
-
@if $sizes == null {
|
38
|
-
$sizes: '';
|
39
|
-
|
40
|
-
[flex-order] {
|
41
|
-
order: 0;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
@for $i from -20 through 20 {
|
46
|
-
$order: '';
|
47
|
-
$suffix: '';
|
48
|
-
|
49
|
-
@each $s in $sizes {
|
50
|
-
@if $s != '' {
|
51
|
-
$suffix: '-#{$s}="#{$i}"';
|
52
|
-
} @else {
|
53
|
-
$suffix: '="#{$i}"';
|
54
|
-
}
|
55
|
-
|
56
|
-
$order: '[flex-order#{$suffix}]';
|
57
|
-
}
|
58
|
-
|
59
|
-
#{$order} {
|
60
|
-
order: #{$i};
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
@mixin offset-for-name($sizes: null) {
|
66
|
-
@if $sizes == null {
|
67
|
-
$sizes: '';
|
68
|
-
}
|
69
|
-
|
70
|
-
@for $i from 0 through 19 {
|
71
|
-
$offsets: '';
|
72
|
-
$suffix: '';
|
73
|
-
|
74
|
-
@each $s in $sizes {
|
75
|
-
@if $s != '' {
|
76
|
-
$suffix: '-#{$s}="#{$i * 5}"';
|
77
|
-
} @else {
|
78
|
-
$suffix: '="#{$i * 5}"';
|
79
|
-
}
|
80
|
-
|
81
|
-
$offsets: $offsets + '[flex-offset#{$suffix}], ';
|
82
|
-
}
|
83
|
-
|
84
|
-
#{$offsets} {
|
85
|
-
margin-left: #{$i * 5 + '%'};
|
86
|
-
}
|
87
|
-
}
|
88
|
-
|
89
|
-
@each $i in 33 {
|
90
|
-
$offsets: '';
|
91
|
-
$suffix: '';
|
92
|
-
|
93
|
-
@each $s in $sizes {
|
94
|
-
@if $s != '' {
|
95
|
-
$suffix: '-#{$s}="#{$i}"';
|
96
|
-
} @else {
|
97
|
-
$suffix: '="#{$i}"';
|
98
|
-
}
|
99
|
-
|
100
|
-
$offsets: '[flex-offset#{$suffix}], ';
|
101
|
-
}
|
102
|
-
|
103
|
-
#{$offsets} {
|
104
|
-
margin-left: calc(100% / 3);
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
@each $i in 66 {
|
109
|
-
$offsets: '';
|
110
|
-
$suffix: '';
|
111
|
-
|
112
|
-
@each $s in $sizes {
|
113
|
-
@if $s != '' {
|
114
|
-
$suffix: '-#{$s}="#{$i}"';
|
115
|
-
} @else {
|
116
|
-
$suffix: '="#{$i}"';
|
117
|
-
}
|
118
|
-
|
119
|
-
$offsets: '[flex-offset#{$suffix}]';
|
120
|
-
}
|
121
|
-
|
122
|
-
#{$offsets} {
|
123
|
-
margin-left: calc(200% / 3);
|
124
|
-
}
|
125
|
-
}
|
126
|
-
}
|
127
|
-
|
128
|
-
@mixin layout-for-name($name: null) {
|
129
|
-
@if $name == null {
|
130
|
-
$name: '';
|
131
|
-
}
|
132
|
-
@if $name != '' {
|
133
|
-
$name: '-#{$name}';
|
134
|
-
}
|
135
|
-
|
136
|
-
[layout#{$name}],
|
137
|
-
[layout#{$name}='column'],
|
138
|
-
[layout#{$name}='row'] {
|
139
|
-
box-sizing: border-box;
|
140
|
-
display: -webkit-box;
|
141
|
-
display: -webkit-flex;
|
142
|
-
display: -moz-box;
|
143
|
-
display: -ms-flexbox;
|
144
|
-
display: flex;
|
145
|
-
}
|
146
|
-
[layout#{$name}='column'] {
|
147
|
-
flex-direction: column;
|
148
|
-
}
|
149
|
-
[layout#{$name}='row'] {
|
150
|
-
flex-direction: row;
|
151
|
-
}
|
152
|
-
}
|
153
|
-
|
154
|
-
@mixin flex-properties-for-name($name: null) {
|
155
|
-
$flexName: 'flex';
|
156
|
-
@if $name != null {
|
157
|
-
$flexName: 'flex-#{$name}';
|
158
|
-
$name: '-#{$name}';
|
159
|
-
} @else {
|
160
|
-
$name: '';
|
161
|
-
}
|
162
|
-
|
163
|
-
[#{$flexName}] {
|
164
|
-
flex: 1;
|
165
|
-
box-sizing: border-box;
|
166
|
-
}
|
167
|
-
// === flex: 1 1 0%;
|
168
|
-
|
169
|
-
// IE mediaQuery hack for 8,9,10 to set the flex-basis properly for 'flex' values
|
170
|
-
// Details:
|
171
|
-
// Do not use unitless flex-basis values in the flex shorthand because IE 10-11 will error.
|
172
|
-
// Also use 0% instead of 0px since minifiers will often convert 0px to 0 (which is unitless and will have the same problem).
|
173
|
-
// Safari, however, fails with flex-basis : 0% and requires flex-basis : 0px
|
174
|
-
@media screen\0 {
|
175
|
-
[#{$flexName}] {
|
176
|
-
flex: 1 1 0%;
|
177
|
-
}
|
178
|
-
}
|
179
|
-
|
180
|
-
[#{$flexName}='grow'],
|
181
|
-
[#{$flexName}-grow] {
|
182
|
-
flex: 1 1 100%;
|
183
|
-
box-sizing: border-box;
|
184
|
-
}
|
185
|
-
[#{$flexName}='initial'],
|
186
|
-
[#{$flexName}-initial] {
|
187
|
-
flex: 0 1 auto;
|
188
|
-
box-sizing: border-box;
|
189
|
-
}
|
190
|
-
[#{$flexName}='auto'],
|
191
|
-
[#{$flexName}-auto] {
|
192
|
-
flex: 1 1 auto;
|
193
|
-
box-sizing: border-box;
|
194
|
-
}
|
195
|
-
[#{$flexName}='none'],
|
196
|
-
[#{$flexName}-none] {
|
197
|
-
flex: 0 0 auto;
|
198
|
-
box-sizing: border-box;
|
199
|
-
}
|
200
|
-
[#{$flexName}='noshrink'],
|
201
|
-
[#{$flexName}-noshrink] {
|
202
|
-
flex: 1 0 auto;
|
203
|
-
box-sizing: border-box;
|
204
|
-
}
|
205
|
-
[#{$flexName}='nogrow'],
|
206
|
-
[#{$flexName}-nogrow] {
|
207
|
-
flex: 0 1 auto;
|
208
|
-
box-sizing: border-box;
|
209
|
-
}
|
210
|
-
|
211
|
-
// (1-20) * 5 = 0-100%
|
212
|
-
@for $i from 0 through 20 {
|
213
|
-
$value: #{$i * 5 + '%'};
|
214
|
-
|
215
|
-
[#{$flexName}='#{$i * 5}'] {
|
216
|
-
flex: 1 1 #{$value};
|
217
|
-
max-width: #{$value};
|
218
|
-
max-height: 100%;
|
219
|
-
box-sizing: border-box;
|
220
|
-
}
|
221
|
-
|
222
|
-
[layout='row'] > [#{$flexName}='#{$i * 5}'],
|
223
|
-
[layout#{$name}='row'] > [#{$flexName}='#{$i * 5}'] {
|
224
|
-
flex: 1 1 #{$value};
|
225
|
-
max-width: #{$value};
|
226
|
-
max-height: 100%;
|
227
|
-
box-sizing: border-box;
|
228
|
-
}
|
229
|
-
|
230
|
-
[layout='column'] > [#{$flexName}='#{$i * 5}'],
|
231
|
-
[layout#{$name}='column'] > [#{$flexName}='#{$i * 5}'] {
|
232
|
-
flex: 1 1 #{$value};
|
233
|
-
max-width: 100%;
|
234
|
-
max-height: #{$value};
|
235
|
-
box-sizing: border-box;
|
236
|
-
}
|
237
|
-
}
|
238
|
-
|
239
|
-
[layout='row'],
|
240
|
-
[layout#{$name}='row'] {
|
241
|
-
> [#{$flexName}='33'],
|
242
|
-
> [#{$flexName}='33'] {
|
243
|
-
flex: 1 1 33%;
|
244
|
-
max-width: calc(100% / 3);
|
245
|
-
max-height: 100%;
|
246
|
-
box-sizing: border-box;
|
247
|
-
}
|
248
|
-
> [#{$flexName}='34'],
|
249
|
-
> [#{$flexName}='34'] {
|
250
|
-
flex: 1 1 34%;
|
251
|
-
max-width: 34%;
|
252
|
-
max-height: 100%;
|
253
|
-
box-sizing: border-box;
|
254
|
-
}
|
255
|
-
> [#{$flexName}='66'],
|
256
|
-
> [#{$flexName}='66'] {
|
257
|
-
flex: 1 1 66%;
|
258
|
-
max-width: calc(200% / 3);
|
259
|
-
max-height: 100%;
|
260
|
-
box-sizing: border-box;
|
261
|
-
}
|
262
|
-
> [#{$flexName}='67'],
|
263
|
-
> [#{$flexName}='67'] {
|
264
|
-
flex: 1 1 67%;
|
265
|
-
max-width: 67%;
|
266
|
-
max-height: 100%;
|
267
|
-
box-sizing: border-box;
|
268
|
-
}
|
269
|
-
}
|
270
|
-
[layout='column'],
|
271
|
-
[layout#{$name}='column'] {
|
272
|
-
> [#{$flexName}='33'],
|
273
|
-
> [#{$flexName}='33'] {
|
274
|
-
flex: 1 1 33%;
|
275
|
-
max-width: 100%;
|
276
|
-
max-height: calc(100% / 3);
|
277
|
-
box-sizing: border-box;
|
278
|
-
}
|
279
|
-
> [#{$flexName}='34'],
|
280
|
-
> [#{$flexName}='34'] {
|
281
|
-
flex: 1 1 34%;
|
282
|
-
max-width: 100%;
|
283
|
-
max-height: 34%;
|
284
|
-
box-sizing: border-box;
|
285
|
-
}
|
286
|
-
> [#{$flexName}='66'],
|
287
|
-
> [#{$flexName}='66'] {
|
288
|
-
flex: 1 1 66%;
|
289
|
-
max-width: 100%;
|
290
|
-
max-height: calc(200% / 3);
|
291
|
-
box-sizing: border-box;
|
292
|
-
}
|
293
|
-
> [#{$flexName}='67'],
|
294
|
-
> [#{$flexName}='67'] {
|
295
|
-
flex: 1 1 67%;
|
296
|
-
max-width: 100%;
|
297
|
-
max-height: 67%;
|
298
|
-
box-sizing: border-box;
|
299
|
-
}
|
300
|
-
}
|
301
|
-
}
|
302
|
-
|
303
|
-
@mixin layout-align-for-name($suffix: null) {
|
304
|
-
// Alignment attributes for layout containers' children
|
305
|
-
// Arrange on the Main Axis
|
306
|
-
// center, start, end, space-between, space-around
|
307
|
-
// flex-start is the default for justify-content
|
308
|
-
// ------------------------------
|
309
|
-
|
310
|
-
$name: 'layout-align';
|
311
|
-
@if $suffix != null {
|
312
|
-
$name: 'layout-align-#{$suffix}';
|
313
|
-
}
|
314
|
-
|
315
|
-
[#{$name}],
|
316
|
-
[#{$name}="start stretch"] // defaults
|
317
|
-
{
|
318
|
-
justify-content: flex-start;
|
319
|
-
align-content: stretch;
|
320
|
-
align-items: stretch;
|
321
|
-
}
|
322
|
-
// Main Axis Center
|
323
|
-
[#{$name}='start'],
|
324
|
-
[#{$name}='start start'],
|
325
|
-
[#{$name}='start center'],
|
326
|
-
[#{$name}='start end'],
|
327
|
-
[#{$name}='start stretch'] {
|
328
|
-
justify-content: flex-start;
|
329
|
-
}
|
330
|
-
|
331
|
-
// Main Axis Center
|
332
|
-
[#{$name}='center'],
|
333
|
-
[#{$name}='center start'],
|
334
|
-
[#{$name}='center center'],
|
335
|
-
[#{$name}='center end'],
|
336
|
-
[#{$name}='center stretch'] {
|
337
|
-
justify-content: center;
|
338
|
-
}
|
339
|
-
|
340
|
-
// Main Axis End
|
341
|
-
[#{$name}="end"], //stretch
|
342
|
-
[#{$name}="end center"],
|
343
|
-
[#{$name}="end start"],
|
344
|
-
[#{$name}="end end"],
|
345
|
-
[#{$name}="end stretch"] {
|
346
|
-
justify-content: flex-end;
|
347
|
-
}
|
348
|
-
|
349
|
-
// Main Axis Space Around
|
350
|
-
[#{$name}="space-around"], //stretch
|
351
|
-
[#{$name}="space-around center"],
|
352
|
-
[#{$name}="space-around start"],
|
353
|
-
[#{$name}="space-around end"],
|
354
|
-
[#{$name}="space-around stretch"] {
|
355
|
-
justify-content: space-around;
|
356
|
-
}
|
357
|
-
|
358
|
-
// Main Axis Space Between
|
359
|
-
[#{$name}="space-between"], //stretch
|
360
|
-
[#{$name}="space-between center"],
|
361
|
-
[#{$name}="space-between start"],
|
362
|
-
[#{$name}="space-between end"],
|
363
|
-
[#{$name}="space-between stretch"] {
|
364
|
-
justify-content: space-between;
|
365
|
-
}
|
366
|
-
|
367
|
-
// Arrange on the Cross Axis
|
368
|
-
// center, start, end
|
369
|
-
// stretch is the default for align-items
|
370
|
-
// ------------------------------
|
371
|
-
|
372
|
-
// Cross Axis Start
|
373
|
-
[#{$name}='start start'],
|
374
|
-
[#{$name}='center start'],
|
375
|
-
[#{$name}='end start'],
|
376
|
-
[#{$name}='space-between start'],
|
377
|
-
[#{$name}='space-around start'] {
|
378
|
-
align-items: flex-start;
|
379
|
-
align-content: flex-start;
|
380
|
-
}
|
381
|
-
|
382
|
-
// Cross Axis Center
|
383
|
-
[#{$name}='start center'],
|
384
|
-
[#{$name}='center center'],
|
385
|
-
[#{$name}='end center'],
|
386
|
-
[#{$name}='space-between center'],
|
387
|
-
[#{$name}='space-around center'] {
|
388
|
-
align-items: center;
|
389
|
-
align-content: center;
|
390
|
-
max-width: 100%;
|
391
|
-
|
392
|
-
// IE11 overflow https://github.com/philipwalton/flexbugs#2-column-flex-items-set-to-align-itemscenter-overflow-their-container
|
393
|
-
& > * {
|
394
|
-
max-width: 100%;
|
395
|
-
box-sizing: border-box;
|
396
|
-
}
|
397
|
-
}
|
398
|
-
|
399
|
-
// Cross Axis Center IE overflow fix
|
400
|
-
[#{$name}='start center'] > *,
|
401
|
-
[#{$name}='center center'] > *,
|
402
|
-
[#{$name}='end center'] > *,
|
403
|
-
[#{$name}='space-between center'] > *,
|
404
|
-
[#{$name}='space-around center'] > * {
|
405
|
-
max-width: 100%;
|
406
|
-
box-sizing: border-box;
|
407
|
-
}
|
408
|
-
|
409
|
-
// Cross Axis End
|
410
|
-
[#{$name}='start end'],
|
411
|
-
[#{$name}='center end'],
|
412
|
-
[#{$name}='end end'],
|
413
|
-
[#{$name}='space-between end'],
|
414
|
-
[#{$name}='space-around end'] {
|
415
|
-
align-items: flex-end;
|
416
|
-
align-content: flex-end;
|
417
|
-
}
|
418
|
-
|
419
|
-
// Cross Axis stretch
|
420
|
-
[#{$name}='start stretch'],
|
421
|
-
[#{$name}='center stretch'],
|
422
|
-
[#{$name}='end stretch'],
|
423
|
-
[#{$name}='space-between stretch'],
|
424
|
-
[#{$name}='space-around stretch'] {
|
425
|
-
align-items: stretch;
|
426
|
-
align-content: stretch;
|
427
|
-
}
|
428
|
-
}
|
429
|
-
|
430
|
-
@mixin layout-padding-margin() {
|
431
|
-
[layout-padding] > [flex-sm],
|
432
|
-
[layout-padding] > [flex-lt-md] {
|
433
|
-
padding: $layout-gutter-width / 4;
|
434
|
-
}
|
435
|
-
[layout-padding],
|
436
|
-
[layout-padding] > [flex],
|
437
|
-
[layout-padding] > [flex-gt-sm],
|
438
|
-
[layout-padding] > [flex-md],
|
439
|
-
[layout-padding] > [flex-lt-lg] {
|
440
|
-
padding: $layout-gutter-width / 2;
|
441
|
-
}
|
442
|
-
[layout-padding] > [flex-gt-md],
|
443
|
-
[layout-padding] > [flex-lg] {
|
444
|
-
padding: $layout-gutter-width / 1;
|
445
|
-
}
|
446
|
-
|
447
|
-
[layout-margin] > [flex-sm],
|
448
|
-
[layout-margin] > [flex-lt-md] {
|
449
|
-
margin: $layout-gutter-width / 4;
|
450
|
-
}
|
451
|
-
|
452
|
-
[layout-margin],
|
453
|
-
[layout-margin] > [flex],
|
454
|
-
[layout-margin] > [flex-gt-sm],
|
455
|
-
[layout-margin] > [flex-md],
|
456
|
-
[layout-margin] > [flex-lt-lg] {
|
457
|
-
margin: $layout-gutter-width / 2;
|
458
|
-
}
|
459
|
-
|
460
|
-
[layout-margin] > [flex-gt-md],
|
461
|
-
[layout-margin] > [flex-lg] {
|
462
|
-
margin: $layout-gutter-width / 1;
|
463
|
-
}
|
464
|
-
|
465
|
-
[layout-wrap] {
|
466
|
-
flex-wrap: wrap;
|
467
|
-
}
|
468
|
-
|
469
|
-
[layout-nowrap] {
|
470
|
-
flex-wrap: nowrap;
|
471
|
-
}
|
472
|
-
|
473
|
-
[layout-fill] {
|
474
|
-
margin: 0;
|
475
|
-
width: 100%;
|
476
|
-
min-height: 100%;
|
477
|
-
height: 100%;
|
478
|
-
}
|
479
|
-
}
|
480
|
-
|
481
|
-
@mixin layouts_for_breakpoint($name: null) {
|
482
|
-
@include flex-order-for-name($name);
|
483
|
-
@include offset-for-name($name);
|
484
|
-
@include layout-align-for-name($name);
|
485
|
-
|
486
|
-
@include flex-properties-for-name($name);
|
487
|
-
@include layout-for-name($name);
|
488
|
-
}
|
489
|
-
|
490
|
-
@mixin covalent-layout() {
|
491
|
-
/*
|
492
|
-
* Apply Mixins to create Layout/Flexbox styles
|
493
|
-
*
|
494
|
-
*/
|
495
|
-
|
496
|
-
@include layouts_for_breakpoint();
|
497
|
-
@include layout-padding-margin();
|
498
|
-
|
499
|
-
/**
|
500
|
-
* `hide-gt-sm show-gt-lg` should hide from 600px to 1200px
|
501
|
-
* `show-md hide-gt-sm` should show from 0px to 960px and hide at >960px
|
502
|
-
* `hide-gt-md show-gt-sm` should show everywhere (show overrides hide)`
|
503
|
-
*
|
504
|
-
* hide means hide everywhere
|
505
|
-
* Sizes:
|
506
|
-
* $layout-breakpoint-xs: 600px !default;
|
507
|
-
* $layout-breakpoint-sm: 960px !default;
|
508
|
-
* $layout-breakpoint-md: 1280px !default;
|
509
|
-
* $layout-breakpoint-lg: 1920px !default;
|
510
|
-
*/
|
511
|
-
|
512
|
-
@media (max-width: $layout-breakpoint-xs - 1) {
|
513
|
-
// Xtra-SMALL SCREEN
|
514
|
-
[hide-xs],
|
515
|
-
[hide] {
|
516
|
-
&:not([show-xs]):not([show]) {
|
517
|
-
display: none;
|
518
|
-
}
|
519
|
-
}
|
520
|
-
@include layouts_for_breakpoint(xs);
|
521
|
-
}
|
522
|
-
|
523
|
-
@media (min-width: $layout-breakpoint-xs) {
|
524
|
-
// BIGGER THAN Xtra-SMALL SCREEN
|
525
|
-
@include layouts_for_breakpoint(gt-xs);
|
526
|
-
}
|
527
|
-
|
528
|
-
@media (min-width: $layout-breakpoint-xs) and (max-width: $layout-breakpoint-sm - 1) {
|
529
|
-
// SMALL SCREEN
|
530
|
-
[hide-sm],
|
531
|
-
[hide-gt-xs] {
|
532
|
-
&:not([show-gt-xs]):not([show-sm]):not([show]) {
|
533
|
-
display: none;
|
534
|
-
}
|
535
|
-
}
|
536
|
-
[hide-sm]:not([show-sm]):not([show]) {
|
537
|
-
display: none;
|
538
|
-
}
|
539
|
-
@include layouts_for_breakpoint(sm);
|
540
|
-
}
|
541
|
-
|
542
|
-
@media (min-width: $layout-breakpoint-sm) {
|
543
|
-
// BIGGER THAN SMALL SCREEN
|
544
|
-
@include layouts_for_breakpoint(gt-sm);
|
545
|
-
}
|
546
|
-
|
547
|
-
@media (min-width: $layout-breakpoint-sm) and (max-width: $layout-breakpoint-md - 1) {
|
548
|
-
// MEDIUM SCREEN
|
549
|
-
[hide],
|
550
|
-
[hide-gt-xs],
|
551
|
-
[hide-gt-sm] {
|
552
|
-
&:not([show-gt-xs]):not([show-gt-sm]):not([show-md]):not([show]) {
|
553
|
-
display: none;
|
554
|
-
}
|
555
|
-
}
|
556
|
-
[hide-md]:not([show-md]):not([show]) {
|
557
|
-
display: none;
|
558
|
-
}
|
559
|
-
@include layouts_for_breakpoint(md);
|
560
|
-
}
|
561
|
-
|
562
|
-
@media (min-width: $layout-breakpoint-md) {
|
563
|
-
// BIGGER THAN MEDIUM SCREEN
|
564
|
-
@include layouts_for_breakpoint(gt-md);
|
565
|
-
}
|
566
|
-
|
567
|
-
@media (min-width: $layout-breakpoint-md) and (max-width: $layout-breakpoint-lg - 1) {
|
568
|
-
// LARGE SCREEN
|
569
|
-
[hide],
|
570
|
-
[hide-gt-xs],
|
571
|
-
[hide-gt-sm],
|
572
|
-
[hide-gt-md] {
|
573
|
-
&:not([show-gt-xs]):not([show-gt-sm]):not([show-gt-md]):not([show-lg]):not([show]) {
|
574
|
-
display: none;
|
575
|
-
}
|
576
|
-
}
|
577
|
-
[hide-lg]:not([show-lg]):not([show]) {
|
578
|
-
display: none;
|
579
|
-
}
|
580
|
-
|
581
|
-
@include layouts_for_breakpoint(lg);
|
582
|
-
}
|
583
|
-
|
584
|
-
@media (min-width: $layout-breakpoint-lg) {
|
585
|
-
// BIGGER THAN LARGE SCREEN
|
586
|
-
@include layouts_for_breakpoint(gt-lg);
|
587
|
-
@include layouts_for_breakpoint(xl);
|
588
|
-
|
589
|
-
// BIGGER THAN LARGE SCREEN
|
590
|
-
[hide],
|
591
|
-
[hide-gt-xs],
|
592
|
-
[hide-gt-sm],
|
593
|
-
[hide-gt-md],
|
594
|
-
[hide-gt-lg] {
|
595
|
-
&:not([show-gt-xs]):not([show-gt-sm]):not([show-gt-md]):not([show-gt-lg]):not([show-xl]):not([show]) {
|
596
|
-
display: none;
|
597
|
-
}
|
598
|
-
}
|
599
|
-
[hide-xl]:not([show-xl]):not([show-gt-lg]):not([show]) {
|
600
|
-
display: none;
|
601
|
-
}
|
602
|
-
}
|
603
|
-
}
|