@covalent/core 4.0.0-beta.2 → 4.1.0-develop.10
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 +3 -1
- package/breadcrumbs/breadcrumbs.component.d.ts +3 -4
- package/breadcrumbs/covalent-core-breadcrumbs.d.ts +1 -1
- package/breadcrumbs/{public-api.d.ts → public_api.d.ts} +0 -0
- package/common/README.md +3 -0
- package/common/_common-theme.scss +1 -1
- package/common/behaviors/disable-ripple.mixin.d.ts +1 -1
- package/common/behaviors/disabled.mixin.d.ts +1 -1
- package/common/covalent-core-common.d.ts +1 -1
- package/common/material-icons.css +1 -111
- package/common/material-icons.css.map +1 -1
- package/common/pipes/truncate/truncate.pipe.d.ts +1 -1
- package/common/platform.css +1 -16819
- package/common/platform.css.map +1 -1
- package/common/{public-api.d.ts → public_api.d.ts} +0 -0
- package/common/styles/_elevation.scss +7 -2
- package/common/styles/_typography-functions.scss +10 -2
- package/common/styles/_variables.scss +2 -1
- package/common/styles/core/_button.scss +35 -5
- package/common/styles/core/_card.scss +11 -6
- package/common/styles/core/_whiteframe.scss +16 -8
- package/common/styles/font/README.md +4 -2
- package/covalent-core.d.ts +1 -1
- package/dialogs/README.md +38 -30
- package/dialogs/alert-dialog/alert-dialog.component.d.ts +3 -3
- package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
- package/dialogs/covalent-core-dialogs.d.ts +1 -1
- package/dialogs/dialog.component.d.ts +4 -4
- package/dialogs/dialogs.module.d.ts +1 -1
- package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +3 -3
- package/dialogs/{public-api.d.ts → public_api.d.ts} +0 -0
- package/dialogs/src/README.md +223 -0
- package/dialogs/window-dialog/window-dialog.component.d.ts +5 -5
- package/dynamic-menu/README.md +6 -6
- package/dynamic-menu/covalent-core-dynamic-menu.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu.component.d.ts +1 -22
- package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
- package/dynamic-menu/public_api.d.ts +1 -0
- package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +21 -37
- package/esm2020/breadcrumbs/breadcrumbs.component.mjs +25 -34
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +12 -13
- package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +2 -2
- package/esm2020/breadcrumbs/public_api.mjs +4 -0
- package/esm2020/common/animations/bounce/bounce.animation.mjs +1 -1
- package/esm2020/common/animations/collapse/collapse.animation.mjs +1 -1
- package/esm2020/common/animations/common/interfaces.mjs +1 -1
- package/esm2020/common/animations/fade/fadeInOut.animation.mjs +1 -1
- package/esm2020/common/animations/flash/flash.animation.mjs +1 -1
- package/esm2020/common/animations/headshake/headshake.animation.mjs +17 -5
- package/esm2020/common/animations/jello/jello.animation.mjs +29 -8
- package/esm2020/common/animations/pulse/pulse.animation.mjs +1 -1
- package/esm2020/common/animations/rotate/rotate.animation.mjs +7 -2
- package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +4 -2
- package/esm2020/common/behaviors/disable-ripple.mixin.mjs +1 -1
- package/esm2020/common/behaviors/disabled.mixin.mjs +1 -1
- package/esm2020/common/common.module.mjs +14 -15
- package/esm2020/common/covalent-core-common.mjs +2 -2
- package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +41 -41
- package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +19 -19
- package/esm2020/common/forms/validators/validators.mjs +6 -6
- package/esm2020/common/functions/clipboard.mjs +1 -1
- package/esm2020/common/functions/convert.mjs +1 -1
- package/esm2020/common/functions/download.mjs +1 -1
- package/esm2020/common/functions/file.mjs +1 -1
- package/esm2020/common/pipes/bytes/bytes.pipe.mjs +21 -11
- package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +21 -11
- package/esm2020/common/pipes/digits/digits.pipe.mjs +13 -13
- package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +9 -9
- package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +9 -9
- package/esm2020/common/pipes/time-until/time-until.pipe.mjs +9 -9
- package/esm2020/common/pipes/truncate/truncate.pipe.mjs +10 -10
- package/esm2020/common/public_api.mjs +39 -0
- package/esm2020/common/services/icon.service.mjs +6 -6
- package/esm2020/common/services/router-path.service.mjs +6 -6
- package/esm2020/covalent-core.mjs +2 -2
- package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +9 -40
- package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +9 -49
- package/esm2020/dialogs/covalent-core-dialogs.mjs +2 -2
- package/esm2020/dialogs/dialog.component.mjs +35 -76
- package/esm2020/dialogs/dialogs.module.mjs +39 -36
- package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +15 -73
- package/esm2020/dialogs/public_api.mjs +9 -0
- package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +27 -10
- package/esm2020/dialogs/services/dialog.service.mjs +16 -13
- package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +24 -55
- package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +2 -2
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +19 -136
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +14 -103
- package/esm2020/dynamic-menu/dynamic-menu.component.mjs +18 -101
- package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
- package/esm2020/dynamic-menu/dynamic-menu.module.mjs +44 -19
- package/esm2020/dynamic-menu/public_api.mjs +2 -1
- package/esm2020/file/covalent-core-file.mjs +2 -2
- package/esm2020/file/directives/file-drop.directive.mjs +46 -47
- package/esm2020/file/directives/file-select.directive.mjs +32 -31
- package/esm2020/file/file-input/file-input.component.mjs +41 -68
- package/esm2020/file/file-upload/file-upload.component.mjs +76 -112
- package/esm2020/file/file.module.mjs +32 -17
- package/esm2020/file/public_api.mjs +7 -0
- package/esm2020/file/services/file.service.mjs +13 -11
- package/esm2020/json-formatter/collapse.animation.mjs +51 -0
- package/esm2020/json-formatter/covalent-core-json-formatter.mjs +2 -2
- package/esm2020/json-formatter/json-formatter.component.mjs +38 -123
- package/esm2020/json-formatter/json-formatter.module.mjs +12 -13
- package/esm2020/json-formatter/public_api.mjs +3 -0
- package/esm2020/layout/covalent-core-layout.mjs +2 -2
- package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +17 -64
- package/esm2020/layout/layout-footer/layout-footer.component.mjs +9 -14
- package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +22 -51
- package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +47 -53
- package/esm2020/layout/layout-nav/layout-nav.component.mjs +22 -84
- package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +37 -124
- package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +47 -53
- package/esm2020/layout/layout-toggle.class.mjs +12 -15
- package/esm2020/layout/layout.component.mjs +22 -43
- package/esm2020/layout/layout.directives.mjs +48 -50
- package/esm2020/layout/layout.module.mjs +34 -35
- package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +56 -201
- package/esm2020/layout/public_api.mjs +13 -0
- package/esm2020/menu/covalent-core-menu.mjs +2 -2
- package/esm2020/menu/menu.component.mjs +7 -18
- package/esm2020/menu/menu.module.mjs +12 -13
- package/esm2020/menu/public_api.mjs +3 -0
- package/esm2020/message/collapse.animation.mjs +51 -0
- package/esm2020/message/covalent-core-message.mjs +2 -2
- package/esm2020/message/message.component.mjs +44 -102
- package/esm2020/message/message.module.mjs +19 -15
- package/esm2020/message/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/search/covalent-core-search.mjs +2 -2
- package/esm2020/search/public_api.mjs +4 -0
- package/esm2020/search/search-box/search-box.component.mjs +97 -123
- package/esm2020/search/search-input/search-input.component.mjs +116 -153
- package/esm2020/search/search.module.mjs +28 -13
- package/esm2020/side-sheet/covalent-core-side-sheet.mjs +2 -2
- package/esm2020/side-sheet/public_api.mjs +6 -0
- package/esm2020/side-sheet/side-sheet-container.mjs +89 -57
- package/esm2020/side-sheet/side-sheet-ref.mjs +2 -2
- package/esm2020/side-sheet/side-sheet.animation.mjs +2 -2
- package/esm2020/side-sheet/side-sheet.config.mjs +1 -1
- package/esm2020/side-sheet/side-sheet.content-directives.mjs +109 -86
- package/esm2020/side-sheet/side-sheet.mjs +44 -31
- package/esm2020/side-sheet/side-sheet.module.mjs +37 -38
- package/esm2020/user-profile/covalent-core-user-profile.mjs +2 -2
- package/esm2020/user-profile/public_api.mjs +1 -1
- package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +13 -64
- package/esm2020/user-profile/user-profile.component.mjs +13 -35
- package/esm2020/user-profile/user-profile.module.mjs +32 -14
- package/fesm2015/covalent-core-breadcrumbs.mjs +40 -85
- package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2015/covalent-core-common.mjs +170 -140
- package/fesm2015/covalent-core-common.mjs.map +1 -1
- package/fesm2015/covalent-core-dialogs.mjs +125 -358
- package/fesm2015/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2015/covalent-core-dynamic-menu.mjs +73 -425
- package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -1
- package/fesm2015/covalent-core-file.mjs +148 -233
- package/fesm2015/covalent-core-file.mjs.map +1 -1
- package/fesm2015/covalent-core-json-formatter.mjs +93 -148
- package/fesm2015/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2015/covalent-core-layout.mjs +194 -747
- package/fesm2015/covalent-core-layout.mjs.map +1 -1
- package/fesm2015/covalent-core-menu.mjs +10 -28
- package/fesm2015/covalent-core-menu.mjs.map +1 -1
- package/fesm2015/covalent-core-message.mjs +79 -104
- package/fesm2015/covalent-core-message.mjs.map +1 -1
- package/fesm2015/covalent-core-search.mjs +147 -227
- package/fesm2015/covalent-core-search.mjs.map +1 -1
- package/fesm2015/covalent-core-side-sheet.mjs +202 -173
- package/fesm2015/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2015/covalent-core-user-profile.mjs +38 -114
- package/fesm2015/covalent-core-user-profile.mjs.map +1 -1
- package/fesm2015/covalent-core.mjs.map +1 -1
- package/fesm2020/covalent-core-breadcrumbs.mjs +54 -80
- package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2020/covalent-core-common.mjs +224 -165
- package/fesm2020/covalent-core-common.mjs.map +1 -1
- package/fesm2020/covalent-core-dialogs.mjs +160 -338
- package/fesm2020/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2020/covalent-core-dynamic-menu.mjs +89 -354
- package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -1
- package/fesm2020/covalent-core-file.mjs +229 -273
- package/fesm2020/covalent-core-file.mjs.map +1 -1
- package/fesm2020/covalent-core-json-formatter.mjs +97 -133
- package/fesm2020/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2020/covalent-core-layout.mjs +353 -767
- package/fesm2020/covalent-core-layout.mjs.map +1 -1
- package/fesm2020/covalent-core-menu.mjs +17 -29
- package/fesm2020/covalent-core-menu.mjs.map +1 -1
- package/fesm2020/covalent-core-message.mjs +110 -114
- package/fesm2020/covalent-core-message.mjs.map +1 -1
- package/fesm2020/covalent-core-search.mjs +233 -281
- package/fesm2020/covalent-core-search.mjs.map +1 -1
- package/fesm2020/covalent-core-side-sheet.mjs +267 -200
- package/fesm2020/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2020/covalent-core-user-profile.mjs +54 -109
- package/fesm2020/covalent-core-user-profile.mjs.map +1 -1
- package/fesm2020/covalent-core.mjs.map +1 -1
- package/file/_file-theme.scss +2 -1
- package/file/covalent-core-file.d.ts +1 -1
- package/file/directives/file-drop.directive.d.ts +6 -7
- package/file/directives/file-select.directive.d.ts +2 -2
- package/file/file-input/file-input.component.d.ts +7 -7
- package/file/file-upload/file-upload.component.d.ts +16 -9
- package/file/{public-api.d.ts → public_api.d.ts} +0 -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/collapse.animation.d.ts +24 -0
- package/json-formatter/covalent-core-json-formatter.d.ts +1 -1
- package/json-formatter/json-formatter.component.d.ts +4 -4
- package/json-formatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/layout/README.md +48 -50
- package/layout/covalent-core-layout.d.ts +1 -1
- package/layout/layout-card-over/layout-card-over.component.d.ts +3 -3
- package/layout/layout-footer/layout-footer.component.d.ts +3 -3
- package/layout/layout-manage-list/layout-manage-list.component.d.ts +4 -4
- package/layout/layout-manage-list/layout-manage-list.directives.d.ts +5 -5
- package/layout/layout-nav/layout-nav.component.d.ts +5 -5
- package/layout/layout-nav-list/layout-nav-list.component.d.ts +9 -9
- package/layout/layout-nav-list/layout-nav-list.directives.d.ts +5 -5
- package/layout/layout-toggle.class.d.ts +1 -1
- package/layout/layout.component.d.ts +4 -4
- package/layout/layout.directives.d.ts +2 -2
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +12 -12
- 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 +1 -1
- package/menu/{public-api.d.ts → public_api.d.ts} +0 -0
- package/message/README.md +26 -18
- package/message/collapse.animation.d.ts +24 -0
- package/message/covalent-core-message.d.ts +1 -1
- package/message/message.component.d.ts +4 -4
- package/message/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +36 -55
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/search/README.md +74 -73
- package/search/covalent-core-search.d.ts +1 -1
- package/search/{public-api.d.ts → public_api.d.ts} +0 -0
- package/search/search-box/search-box.component.d.ts +10 -6
- package/search/search-input/search-input.component.d.ts +10 -6
- 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 +1 -1
- package/side-sheet/{public-api.d.ts → public_api.d.ts} +0 -0
- package/side-sheet/side-sheet-container.d.ts +18 -7
- package/side-sheet/side-sheet.content-directives.d.ts +22 -16
- package/side-sheet/side-sheet.d.ts +2 -2
- package/side-sheet/side-sheet.module.d.ts +1 -1
- package/theming/prebuilt/blue-grey-deep-orange.css +1 -2815
- package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
- package/theming/prebuilt/blue-orange.css +1 -2815
- package/theming/prebuilt/blue-orange.css.map +1 -1
- package/theming/prebuilt/indigo-pink.css +1 -2815
- package/theming/prebuilt/indigo-pink.css.map +1 -1
- package/theming/prebuilt/orange-light-blue.css +1 -2815
- package/theming/prebuilt/orange-light-blue.css.map +1 -1
- package/theming/prebuilt/teal-orange.css +1 -2815
- package/theming/prebuilt/teal-orange.css.map +1 -1
- package/user-profile/README.md +5 -5
- package/user-profile/covalent-core-user-profile.d.ts +1 -1
- package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +2 -2
- package/user-profile/user-profile.component.d.ts +2 -2
- package/breadcrumbs/breadcrumb/breadcrumb.component.scss +0 -25
- package/breadcrumbs/breadcrumbs.component.scss +0 -8
- package/breadcrumbs/index.d.ts +0 -1
- package/common/index.d.ts +0 -1
- package/common/material-icons.scss +0 -3
- package/common/platform.scss +0 -7
- package/dialogs/alert-dialog/alert-dialog.component.scss +0 -3
- package/dialogs/confirm-dialog/confirm-dialog.component.scss +0 -3
- package/dialogs/dialog.component.scss +0 -49
- package/dialogs/index.d.ts +0 -1
- package/dialogs/prompt-dialog/prompt-dialog.component.scss +0 -16
- package/dialogs/window-dialog/window-dialog.component.scss +0 -31
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -7
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +0 -13
- package/dynamic-menu/dynamic-menu.component.scss +0 -0
- package/dynamic-menu/index.d.ts +0 -1
- package/esm2020/breadcrumbs/index.mjs +0 -2
- package/esm2020/breadcrumbs/public-api.mjs +0 -4
- package/esm2020/common/index.mjs +0 -2
- package/esm2020/common/public-api.mjs +0 -39
- package/esm2020/dialogs/index.mjs +0 -2
- package/esm2020/dialogs/public-api.mjs +0 -9
- package/esm2020/dynamic-menu/index.mjs +0 -2
- package/esm2020/file/index.mjs +0 -2
- package/esm2020/file/public-api.mjs +0 -7
- package/esm2020/index.mjs +0 -2
- package/esm2020/json-formatter/index.mjs +0 -2
- package/esm2020/json-formatter/public-api.mjs +0 -3
- package/esm2020/layout/index.mjs +0 -2
- package/esm2020/layout/public-api.mjs +0 -13
- package/esm2020/menu/index.mjs +0 -2
- package/esm2020/menu/public-api.mjs +0 -3
- package/esm2020/message/index.mjs +0 -2
- package/esm2020/message/public-api.mjs +0 -3
- package/esm2020/search/index.mjs +0 -2
- package/esm2020/search/public-api.mjs +0 -4
- package/esm2020/side-sheet/index.mjs +0 -2
- package/esm2020/side-sheet/public-api.mjs +0 -6
- package/esm2020/user-profile/index.mjs +0 -2
- package/file/file-input/file-input.component.scss +0 -22
- package/file/file-upload/file-upload.component.scss +0 -34
- package/file/index.d.ts +0 -1
- package/json-formatter/index.d.ts +0 -1
- package/json-formatter/json-formatter.component.scss +0 -74
- package/layout/index.d.ts +0 -1
- package/layout/layout-card-over/layout-card-over.component.scss +0 -45
- package/layout/layout-footer/layout-footer.component.scss +0 -4
- package/layout/layout-manage-list/layout-manage-list.component.scss +0 -82
- package/layout/layout-nav/README.md +0 -46
- package/layout/layout-nav/layout-nav.component.scss +0 -54
- package/layout/layout-nav-list/layout-nav-list.component.scss +0 -115
- package/layout/layout.component.scss +0 -16
- package/layout/navigation-drawer/navigation-drawer.component.scss +0 -81
- package/menu/index.d.ts +0 -1
- package/menu/menu.component.scss +0 -51
- package/message/index.d.ts +0 -1
- package/message/message.component.scss +0 -32
- package/schematics/README.md +0 -66
- package/schematics/ng-add/files/theme.scss +0 -64
- package/search/index.d.ts +0 -1
- package/search/search-box/README.md +0 -62
- package/search/search-box/search-box.component.scss +0 -37
- package/search/search-input/README.md +0 -65
- package/search/search-input/search-input.component.scss +0 -75
- package/side-sheet/index.d.ts +0 -1
- package/side-sheet/side-sheet.scss +0 -68
- package/theming/prebuilt/blue-grey-deep-orange.scss +0 -20
- package/theming/prebuilt/blue-orange.scss +0 -20
- package/theming/prebuilt/indigo-pink.scss +0 -20
- package/theming/prebuilt/orange-light-blue.scss +0 -20
- package/theming/prebuilt/teal-orange.scss +0 -20
- package/user-profile/index.d.ts +0 -1
- package/user-profile/user-profile-menu/user-profile-menu.component.scss +0 -41
@@ -1,37 +0,0 @@
|
|
1
|
-
:host {
|
2
|
-
display: block;
|
3
|
-
}
|
4
|
-
|
5
|
-
.td-search-box {
|
6
|
-
// [layout]
|
7
|
-
box-sizing: border-box;
|
8
|
-
display: flex;
|
9
|
-
// [layout="row"]
|
10
|
-
flex-direction: row;
|
11
|
-
// [layout-align="end center"]
|
12
|
-
align-items: baseline;
|
13
|
-
align-content: center;
|
14
|
-
max-width: 100%;
|
15
|
-
justify-content: flex-end;
|
16
|
-
|
17
|
-
.td-search-icon {
|
18
|
-
// [flex="none"]
|
19
|
-
flex: 0 0 auto;
|
20
|
-
align-self: center;
|
21
|
-
}
|
22
|
-
|
23
|
-
td-search-input {
|
24
|
-
margin-left: 12px;
|
25
|
-
|
26
|
-
::ng-deep [dir='rtl'] & {
|
27
|
-
margin-right: 12px;
|
28
|
-
margin-left: 0 !important;
|
29
|
-
}
|
30
|
-
|
31
|
-
::ng-deep .mat-form.field.mat-form-field-appearance-legacy {
|
32
|
-
.mat-form-field-wrapper {
|
33
|
-
padding-bottom: 1em;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
# TdSearchInputComponent: td-search-input
|
2
|
-
|
3
|
-
`td-search-input` element to generate a search input with its animated cancel button.
|
4
|
-
|
5
|
-
## API Summary
|
6
|
-
|
7
|
-
#### Inputs
|
8
|
-
|
9
|
-
+ debounce?: number
|
10
|
-
+ Debounce timeout between keypresses. Defaults to 400.
|
11
|
-
+ placeholder?: string
|
12
|
-
+ Placeholder for the underlying input component.
|
13
|
-
+ showUnderline?: boolean
|
14
|
-
+ Sets if the input underline should be visible. Defaults to 'false'.
|
15
|
-
+ clearIcon?: string
|
16
|
-
+ The icon used to clear the search input. Defaults to 'cancel' icon.
|
17
|
-
+ appearance?: MatFormFieldAppearance
|
18
|
-
+ Appearance style for the underlying input component.
|
19
|
-
|
20
|
-
#### Events
|
21
|
-
|
22
|
-
+ searchDebounce: function
|
23
|
-
+ Event emitted after the [debounce] timeout.
|
24
|
-
+ Emits a [string].
|
25
|
-
+ search: function
|
26
|
-
+ Event emitted after the key enter has been pressed.
|
27
|
-
+ Emits a [string].
|
28
|
-
+ clear: function
|
29
|
-
+ Event emitted after the clear icon has been clicked.
|
30
|
-
+ Emits [void].
|
31
|
-
+ blur: function
|
32
|
-
+ Event emitted after the blur event has been called in underlying input.
|
33
|
-
+ Emits [void].
|
34
|
-
|
35
|
-
#### Methods
|
36
|
-
|
37
|
-
+ focus: function
|
38
|
-
+ Method to focus to underlying input.
|
39
|
-
+ clearSearch: function
|
40
|
-
+ Method to clear the underlying input.
|
41
|
-
|
42
|
-
## Setup
|
43
|
-
|
44
|
-
Import the [CovalentSearchModule] in your NgModule:
|
45
|
-
|
46
|
-
```typescript
|
47
|
-
import { CovalentSearchModule } from '@covalent/core/search';
|
48
|
-
@NgModule({
|
49
|
-
imports: [
|
50
|
-
CovalentSearchModule,
|
51
|
-
...
|
52
|
-
],
|
53
|
-
...
|
54
|
-
})
|
55
|
-
export class MyModule {}
|
56
|
-
```
|
57
|
-
|
58
|
-
## Usage
|
59
|
-
|
60
|
-
Example for HTML usage:
|
61
|
-
|
62
|
-
```html
|
63
|
-
<td-search-input appearance="legacy|standard|fill|outline" placeholder="Search here" [(ngModel)]="searchInputTerm" [showUnderline]="false|true" [debounce]="500" (searchDebounce)="searchInputTerm = $event" (search)="searchInputTerm = $event" (clear)="searchInputTerm = ''">
|
64
|
-
</td-search-input>
|
65
|
-
```
|
@@ -1,75 +0,0 @@
|
|
1
|
-
:host {
|
2
|
-
.td-search-input {
|
3
|
-
overflow-x: hidden;
|
4
|
-
// [layout]
|
5
|
-
box-sizing: border-box;
|
6
|
-
display: flex;
|
7
|
-
// [layout="row"]
|
8
|
-
flex-direction: row;
|
9
|
-
// [layout-align="end center"]
|
10
|
-
align-items: baseline;
|
11
|
-
align-content: center;
|
12
|
-
max-width: 100%;
|
13
|
-
justify-content: flex-end;
|
14
|
-
|
15
|
-
.td-search-input-field {
|
16
|
-
flex: 1;
|
17
|
-
}
|
18
|
-
|
19
|
-
::ng-deep mat-form-field {
|
20
|
-
&.mat-form-field-appearance-outline {
|
21
|
-
.mat-form-field-wrapper {
|
22
|
-
padding-bottom: 0;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
&.mat-form-field-appearance-fill {
|
27
|
-
.mat-form-field-wrapper {
|
28
|
-
padding-bottom: 0;
|
29
|
-
|
30
|
-
.mat-form-field-flex {
|
31
|
-
height: 52px;
|
32
|
-
}
|
33
|
-
|
34
|
-
.mat-form-field-underline {
|
35
|
-
bottom: 0;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
&.mat-form-field-appearance-standard {
|
41
|
-
.mat-form-field-wrapper {
|
42
|
-
padding-bottom: 0;
|
43
|
-
|
44
|
-
.mat-form-field-infix {
|
45
|
-
bottom: 0.4em;
|
46
|
-
}
|
47
|
-
|
48
|
-
.mat-form-field-underline {
|
49
|
-
bottom: 0;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
&.mat-form-field-appearance-legacy {
|
55
|
-
.mat-form-field-infix {
|
56
|
-
align-self: center;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
.mat-input-element {
|
61
|
-
caret-color: currentColor;
|
62
|
-
}
|
63
|
-
|
64
|
-
&.mat-hide-underline .mat-form-field-underline {
|
65
|
-
display: none;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
|
-
.td-search-input-clear {
|
70
|
-
// [flex="none"]
|
71
|
-
flex: 0 0 auto;
|
72
|
-
align-self: center;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
package/side-sheet/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './public-api';
|
@@ -1,68 +0,0 @@
|
|
1
|
-
$padding: 24px !default;
|
2
|
-
$max-height: 65vh !default;
|
3
|
-
$button-margin: 8px !default;
|
4
|
-
|
5
|
-
.td-side-sheet-container {
|
6
|
-
background-color: white;
|
7
|
-
box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 20%), 0 16px 24px 2px rgba(0, 0, 0, 14%), 0 6px 30px 5px rgba(0, 0, 0, 12%);
|
8
|
-
display: block;
|
9
|
-
padding: $padding;
|
10
|
-
box-sizing: border-box;
|
11
|
-
overflow: auto;
|
12
|
-
outline: 0;
|
13
|
-
width: 100%;
|
14
|
-
height: 100%;
|
15
|
-
min-height: inherit;
|
16
|
-
max-height: inherit;
|
17
|
-
}
|
18
|
-
|
19
|
-
.td-side-sheet-wrapper {
|
20
|
-
display: flex;
|
21
|
-
flex-direction: column;
|
22
|
-
height: 100%;
|
23
|
-
}
|
24
|
-
|
25
|
-
.td-side-sheet-content {
|
26
|
-
margin: 0 $padding * -1;
|
27
|
-
padding: 0 $padding;
|
28
|
-
overflow: auto;
|
29
|
-
flex: 1;
|
30
|
-
-webkit-overflow-scrolling: touch;
|
31
|
-
}
|
32
|
-
|
33
|
-
.td-side-sheet-title {
|
34
|
-
margin: -16px 0 20px;
|
35
|
-
display: flex;
|
36
|
-
align-items: center;
|
37
|
-
}
|
38
|
-
|
39
|
-
.td-side-sheet-actions {
|
40
|
-
padding: 8px 0;
|
41
|
-
margin: 0 -16px;
|
42
|
-
display: flex;
|
43
|
-
justify-content: space-between;
|
44
|
-
flex-wrap: wrap;
|
45
|
-
align-items: center;
|
46
|
-
box-sizing: content-box;
|
47
|
-
|
48
|
-
// Pull the actions down to avoid their padding stacking with the dialog's padding.
|
49
|
-
margin-bottom: -$padding;
|
50
|
-
|
51
|
-
&[align='end'] {
|
52
|
-
justify-content: flex-end;
|
53
|
-
}
|
54
|
-
|
55
|
-
&[align='center'] {
|
56
|
-
justify-content: center;
|
57
|
-
}
|
58
|
-
|
59
|
-
.mat-button-base + .mat-button-base,
|
60
|
-
.mat-mdc-button-base + .mat-mdc-button-base {
|
61
|
-
margin-left: $button-margin;
|
62
|
-
|
63
|
-
[dir='rtl'] & {
|
64
|
-
margin-left: 0;
|
65
|
-
margin-right: $button-margin;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
@use '~@angular/material' as mat;
|
2
|
-
@import '../all-theme';
|
3
|
-
|
4
|
-
$primary: mat.define-palette(mat.$blue-grey-palette, 700);
|
5
|
-
$accent: mat.define-palette(mat.$deep-orange-palette, 500);
|
6
|
-
$warn: mat.define-palette(mat.$red-palette, 600);
|
7
|
-
|
8
|
-
$theme: mat.define-light-theme(
|
9
|
-
(
|
10
|
-
color: (
|
11
|
-
primary: $primary,
|
12
|
-
accent: $accent,
|
13
|
-
warn: $warn,
|
14
|
-
),
|
15
|
-
)
|
16
|
-
);
|
17
|
-
|
18
|
-
@include mat.core();
|
19
|
-
@include mat.all-component-themes($theme);
|
20
|
-
@include covalent-theme($theme);
|
@@ -1,20 +0,0 @@
|
|
1
|
-
@use '~@angular/material' as mat;
|
2
|
-
@import '../all-theme';
|
3
|
-
|
4
|
-
$primary: mat.define-palette(mat.$blue-palette, 700);
|
5
|
-
$accent: mat.define-palette(mat.$orange-palette, 800, A100, A400);
|
6
|
-
$warn: mat.define-palette(mat.$red-palette, 600);
|
7
|
-
|
8
|
-
$theme: mat.define-light-theme(
|
9
|
-
(
|
10
|
-
color: (
|
11
|
-
primary: $primary,
|
12
|
-
accent: $accent,
|
13
|
-
warn: $warn,
|
14
|
-
),
|
15
|
-
)
|
16
|
-
);
|
17
|
-
|
18
|
-
@include mat.core();
|
19
|
-
@include mat.all-component-themes($theme);
|
20
|
-
@include covalent-theme($theme);
|
@@ -1,20 +0,0 @@
|
|
1
|
-
@use '~@angular/material' as mat;
|
2
|
-
@import '../all-theme';
|
3
|
-
|
4
|
-
$primary: mat.define-palette(mat.$indigo-palette, 500);
|
5
|
-
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
6
|
-
$warn: mat.define-palette(mat.$red-palette, 600);
|
7
|
-
|
8
|
-
$theme: mat.define-light-theme(
|
9
|
-
(
|
10
|
-
color: (
|
11
|
-
primary: $primary,
|
12
|
-
accent: $accent,
|
13
|
-
warn: $warn,
|
14
|
-
),
|
15
|
-
)
|
16
|
-
);
|
17
|
-
|
18
|
-
@include mat.core();
|
19
|
-
@include mat.all-component-themes($theme);
|
20
|
-
@include covalent-theme($theme);
|
@@ -1,20 +0,0 @@
|
|
1
|
-
@use '~@angular/material' as mat;
|
2
|
-
@import '../all-theme';
|
3
|
-
|
4
|
-
$primary: mat.define-palette(mat.$orange-palette, 800);
|
5
|
-
$accent: mat.define-palette(mat.$light-blue-palette, 600, A100, A400);
|
6
|
-
$warn: mat.define-palette(mat.$red-palette, 600);
|
7
|
-
|
8
|
-
$theme: mat.define-light-theme(
|
9
|
-
(
|
10
|
-
color: (
|
11
|
-
primary: $primary,
|
12
|
-
accent: $accent,
|
13
|
-
warn: $warn,
|
14
|
-
),
|
15
|
-
)
|
16
|
-
);
|
17
|
-
|
18
|
-
@include mat.core();
|
19
|
-
@include mat.all-component-themes($theme);
|
20
|
-
@include covalent-theme($theme);
|
@@ -1,20 +0,0 @@
|
|
1
|
-
@use '~@angular/material' as mat;
|
2
|
-
@import '../all-theme';
|
3
|
-
|
4
|
-
$primary: mat.define-palette(mat.$teal-palette, 700);
|
5
|
-
$accent: mat.define-palette(mat.$orange-palette, 800, A100, A400);
|
6
|
-
$warn: mat.define-palette(mat.$red-palette, 600);
|
7
|
-
|
8
|
-
$theme: mat.define-light-theme(
|
9
|
-
(
|
10
|
-
color: (
|
11
|
-
primary: $primary,
|
12
|
-
accent: $accent,
|
13
|
-
warn: $warn,
|
14
|
-
),
|
15
|
-
)
|
16
|
-
);
|
17
|
-
|
18
|
-
@include mat.core();
|
19
|
-
@include mat.all-component-themes($theme);
|
20
|
-
@include covalent-theme($theme);
|
package/user-profile/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './public_api';
|
@@ -1,41 +0,0 @@
|
|
1
|
-
.user-profile-menu {
|
2
|
-
[td-menu-header] {
|
3
|
-
text-align: left;
|
4
|
-
padding-bottom: 0;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
|
8
|
-
::ng-deep mat-list-item:not(:first-child),
|
9
|
-
::ng-deep [mat-list-item] {
|
10
|
-
.mat-list-item-content .mat-icon[matListAvatar] {
|
11
|
-
background: none;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
|
15
|
-
.mat-action-list {
|
16
|
-
padding-top: 0;
|
17
|
-
}
|
18
|
-
|
19
|
-
:host ::ng-deep {
|
20
|
-
.mat-action-list .mat-divider,
|
21
|
-
.mat-divider {
|
22
|
-
margin: 8px 0;
|
23
|
-
}
|
24
|
-
|
25
|
-
// TODO remove all styles below when bug gets addressed in td-menu in Covalent
|
26
|
-
mat-divider:last-child {
|
27
|
-
display: none;
|
28
|
-
}
|
29
|
-
|
30
|
-
mat-list .mat-list-item.mat-2-line .mat-list-item-content {
|
31
|
-
height: inherit;
|
32
|
-
}
|
33
|
-
|
34
|
-
mat-list .mat-list-item .mat-list-item-content {
|
35
|
-
padding: 8px;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
td-menu {
|
40
|
-
margin-bottom: 0;
|
41
|
-
}
|