@dereekb/dbx-web 4.0.1 → 5.0.1
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/LICENSE +21 -0
- package/_index.scss +7 -9
- package/esm2020/lib/action/action.confirm.directive.mjs +1 -1
- package/esm2020/lib/action/action.module.mjs +6 -45
- package/esm2020/lib/action/action.progress.component.mjs +2 -2
- package/esm2020/lib/action/key.trigger.directive.mjs +2 -2
- package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +11 -10
- package/esm2020/lib/action/snackbar/action.snackbar.default.mjs +9 -9
- package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +5 -3
- package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +2 -2
- package/esm2020/lib/action/snackbar/action.snackbar.mjs +1 -1
- package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +6 -33
- package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +6 -6
- package/esm2020/lib/action/transition/action.transition.module.mjs +6 -28
- package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +2 -2
- package/esm2020/lib/action/transition/transition.safety.directive.mjs +9 -7
- package/esm2020/lib/button/button.component.mjs +14 -12
- package/esm2020/lib/button/button.module.mjs +6 -26
- package/esm2020/lib/button/button.spacer.component.mjs +3 -3
- package/esm2020/lib/button/progress/bar.button.component.mjs +3 -3
- package/esm2020/lib/button/progress/base.progress.button.directive.mjs +7 -8
- package/esm2020/lib/button/progress/button.progress.config.mjs +1 -1
- package/esm2020/lib/button/progress/button.progress.module.mjs +10 -35
- package/esm2020/lib/button/progress/spinner.button.component.mjs +3 -3
- package/esm2020/lib/dbx-web.module.mjs +4 -12
- package/esm2020/lib/error/error.action.directive.mjs +1 -1
- package/esm2020/lib/error/error.api.mjs +16 -12
- package/esm2020/lib/error/error.component.mjs +3 -3
- package/esm2020/lib/error/error.loading.directive.mjs +1 -1
- package/esm2020/lib/error/error.module.mjs +6 -22
- package/esm2020/lib/error/state.mjs +8 -4
- package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +1 -1
- package/esm2020/lib/interaction/dialog/dialog.action.directive.mjs +1 -1
- package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +4 -4
- package/esm2020/lib/interaction/dialog/dialog.module.mjs +6 -21
- package/esm2020/lib/interaction/filter/filter.module.mjs +5 -17
- package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +1 -1
- package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +1 -1
- package/esm2020/lib/interaction/filter/filter.popover.component.mjs +1 -1
- package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +1 -1
- package/esm2020/lib/interaction/interaction.module.mjs +4 -18
- package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +1 -1
- package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +4 -4
- package/esm2020/lib/interaction/popover/popover.action.directive.mjs +3 -4
- package/esm2020/lib/interaction/popover/popover.component.mjs +27 -21
- package/esm2020/lib/interaction/popover/popover.content.component.mjs +14 -15
- package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +4 -4
- package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +10 -10
- package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +1 -1
- package/esm2020/lib/interaction/popover/popover.header.component.mjs +21 -15
- package/esm2020/lib/interaction/popover/popover.mjs +1 -1
- package/esm2020/lib/interaction/popover/popover.module.mjs +7 -72
- package/esm2020/lib/interaction/popover/popover.position.strategy.mjs +9 -10
- package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +8 -4
- package/esm2020/lib/interaction/popover/popover.service.mjs +2 -2
- package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.component.mjs +23 -18
- package/esm2020/lib/interaction/popup/popup.content.component.mjs +4 -4
- package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +6 -6
- package/esm2020/lib/interaction/popup/popup.controls.component.mjs +2 -2
- package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +9 -9
- package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +2 -2
- package/esm2020/lib/interaction/popup/popup.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.module.mjs +7 -55
- package/esm2020/lib/interaction/popup/popup.position.strategy.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.service.mjs +2 -2
- package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +8 -4
- package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +4 -4
- package/esm2020/lib/interaction/prompt/prompt.component.mjs +1 -1
- package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +2 -2
- package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +2 -2
- package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +4 -4
- package/esm2020/lib/interaction/prompt/prompt.confirm.mjs +6 -4
- package/esm2020/lib/interaction/prompt/prompt.module.mjs +6 -60
- package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +3 -3
- package/esm2020/lib/keypress/keydown.listener.directive.mjs +2 -3
- package/esm2020/lib/keypress/keypress.module.mjs +5 -13
- package/esm2020/lib/layout/bar/bar.directive.mjs +4 -4
- package/esm2020/lib/layout/bar/bar.header.component.mjs +4 -4
- package/esm2020/lib/layout/bar/bar.layout.module.mjs +6 -28
- package/esm2020/lib/layout/bar/bar.mjs +1 -1
- package/esm2020/lib/layout/bar/pagebar.component.mjs +3 -3
- package/esm2020/lib/layout/block/block.layout.module.mjs +6 -20
- package/esm2020/lib/layout/block/two.block.component.mjs +16 -16
- package/esm2020/lib/layout/card/card.box.component.mjs +27 -21
- package/esm2020/lib/layout/card/card.box.container.component.mjs +7 -7
- package/esm2020/lib/layout/card/card.box.layout.module.mjs +6 -21
- package/esm2020/lib/layout/column/column.layout.module.mjs +4 -9
- package/esm2020/lib/layout/column/one/one.column.component.mjs +1 -1
- package/esm2020/lib/layout/column/one/one.column.module.mjs +6 -17
- package/esm2020/lib/layout/column/two/index.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.component.mjs +7 -10
- package/esm2020/lib/layout/column/two/two.column.context.directive.mjs +5 -6
- package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.head.component.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.module.mjs +6 -50
- package/esm2020/lib/layout/column/two/two.column.right.component.mjs +5 -5
- package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.store.mjs +10 -9
- package/esm2020/lib/layout/compact/compact.directive.mjs +2 -2
- package/esm2020/lib/layout/compact/compact.layout.module.mjs +5 -13
- package/esm2020/lib/layout/compact/compact.mjs +4 -5
- package/esm2020/lib/layout/compact/compact.store.mjs +3 -3
- package/esm2020/lib/layout/content/content.border.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.box.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.container.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.elevate.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.layout.module.mjs +6 -34
- package/esm2020/lib/layout/content/content.page.directive.mjs +4 -4
- package/esm2020/lib/layout/flag/flag.component.mjs +2 -2
- package/esm2020/lib/layout/flag/flag.layout.module.mjs +6 -21
- package/esm2020/lib/layout/flag/flag.prompt.component.mjs +2 -2
- package/esm2020/lib/layout/flex/flex.group.directive.mjs +2 -2
- package/esm2020/lib/layout/flex/flex.layout.module.mjs +6 -18
- package/esm2020/lib/layout/flex/flex.mjs +1 -1
- package/esm2020/lib/layout/flex/flex.size.directive.mjs +1 -1
- package/esm2020/lib/layout/item/item.icon.component.mjs +19 -19
- package/esm2020/lib/layout/item/item.layout.module.mjs +6 -17
- package/esm2020/lib/layout/layout.module.mjs +4 -45
- package/esm2020/lib/layout/list/list.component.mjs +27 -21
- package/esm2020/lib/layout/list/list.content.empty.component.mjs +2 -2
- package/esm2020/lib/layout/list/list.directive.mjs +2 -2
- package/esm2020/lib/layout/list/list.layout.module.mjs +6 -62
- package/esm2020/lib/layout/list/list.view.directive.mjs +3 -4
- package/esm2020/lib/layout/list/list.view.mjs +9 -5
- package/esm2020/lib/layout/list/list.view.selection.directive.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.component.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.directive.mjs +9 -10
- package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.mjs +13 -9
- package/esm2020/lib/layout/list/list.view.value.modifier.directive.mjs +8 -8
- package/esm2020/lib/layout/list/list.view.value.modifier.mjs +8 -6
- package/esm2020/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +5 -6
- package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +7 -7
- package/esm2020/lib/layout/list/list.wrapper.mjs +7 -5
- package/esm2020/lib/layout/section/section.component.mjs +3 -3
- package/esm2020/lib/layout/section/section.header.component.mjs +7 -5
- package/esm2020/lib/layout/section/section.intro.component.mjs +25 -25
- package/esm2020/lib/layout/section/section.layout.module.mjs +6 -42
- package/esm2020/lib/layout/section/section.mjs +1 -1
- package/esm2020/lib/layout/section/section.page.component.mjs +12 -12
- package/esm2020/lib/layout/section/subsection.component.mjs +16 -16
- package/esm2020/lib/layout/step/step.component.mjs +3 -3
- package/esm2020/lib/layout/step/step.layout.module.mjs +6 -17
- package/esm2020/lib/layout/style/spacer.directive.mjs +4 -4
- package/esm2020/lib/layout/style/style.body.directive.mjs +1 -1
- package/esm2020/lib/layout/style/style.directive.mjs +3 -3
- package/esm2020/lib/layout/style/style.layout.module.mjs +6 -26
- package/esm2020/lib/layout/style/style.service.mjs +3 -3
- package/esm2020/lib/layout/style/style.set.directive.mjs +3 -4
- package/esm2020/lib/layout/text/hint.component.mjs +8 -4
- package/esm2020/lib/layout/text/icon.spacer.component.mjs +3 -3
- package/esm2020/lib/layout/text/label.component.mjs +8 -4
- package/esm2020/lib/layout/text/linkify.component.mjs +10 -7
- package/esm2020/lib/layout/text/note.component.mjs +8 -4
- package/esm2020/lib/layout/text/notice.component.mjs +8 -4
- package/esm2020/lib/layout/text/ok.component.mjs +8 -4
- package/esm2020/lib/layout/text/success.component.mjs +8 -4
- package/esm2020/lib/layout/text/text.chips.component.mjs +11 -11
- package/esm2020/lib/layout/text/text.module.mjs +6 -59
- package/esm2020/lib/layout/text/warn.component.mjs +8 -4
- package/esm2020/lib/loading/basic-loading.component.mjs +8 -8
- package/esm2020/lib/loading/loading-progress.component.mjs +16 -16
- package/esm2020/lib/loading/loading.action.directive.mjs +1 -1
- package/esm2020/lib/loading/loading.component.mjs +16 -16
- package/esm2020/lib/loading/loading.module.mjs +6 -40
- package/esm2020/lib/router/layout/anchor/anchor.component.mjs +6 -7
- package/esm2020/lib/router/layout/anchor/anchor.content.component.mjs +13 -7
- package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +13 -9
- package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +4 -4
- package/esm2020/lib/router/layout/anchor/anchor.module.mjs +6 -35
- package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +8 -8
- package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +5 -5
- package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +6 -32
- package/esm2020/lib/router/layout/layout.module.mjs +4 -18
- package/esm2020/lib/router/layout/list/list.module.mjs +3 -7
- package/esm2020/lib/router/layout/list/router.list.directive.mjs +4 -4
- package/esm2020/lib/router/layout/navbar/navbar.component.mjs +7 -7
- package/esm2020/lib/router/layout/navbar/navbar.module.mjs +6 -29
- package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +9 -9
- package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +3 -3
- package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +6 -62
- package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +2 -2
- package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +2 -2
- package/esm2020/lib/router/provider/index.mjs +1 -1
- package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +4 -5
- package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +4 -14
- package/esm2020/lib/router/provider/router.provider.config.mjs +1 -1
- package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +9 -3
- package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +4 -14
- package/esm2020/lib/screen/screen.mjs +6 -6
- package/esm2020/lib/screen/screen.module.mjs +1 -1
- package/esm2020/lib/screen/screen.service.mjs +6 -7
- package/fesm2015/dereekb-dbx-web.mjs +866 -1730
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +866 -1730
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/key.trigger.directive.d.ts +1 -1
- package/lib/action/snackbar/_snackbar.scss +4 -5
- package/lib/action/snackbar/action.snackbar.component.d.ts +3 -4
- package/lib/action/snackbar/action.snackbar.d.ts +9 -9
- package/lib/action/snackbar/action.snackbar.directive.d.ts +6 -6
- package/lib/action/snackbar/action.snackbar.generator.d.ts +10 -10
- package/lib/action/snackbar/action.snackbar.service.d.ts +8 -8
- package/lib/button/_button.scss +4 -4
- package/lib/button/button.spacer.component.d.ts +1 -1
- package/lib/button/progress/bar.button.component.scss +1 -1
- package/lib/button/progress/base.progress.button.directive.d.ts +2 -3
- package/lib/button/progress/button.progress.config.d.ts +1 -1
- package/lib/button/progress/spinner.button.component.scss +5 -5
- package/lib/error/_error.scss +6 -4
- package/lib/error/error.api.d.ts +2 -2
- package/lib/error/error.component.d.ts +2 -3
- package/lib/error/state.d.ts +3 -3
- package/lib/interaction/dialog/_dialog.scss +4 -6
- package/lib/interaction/dialog/abstract.dialog.directive.d.ts +1 -1
- package/lib/interaction/dialog/dialog.action.directive.d.ts +4 -4
- package/lib/interaction/dialog/dialog.content.component.d.ts +1 -1
- package/lib/interaction/filter/_filter.scss +6 -3
- package/lib/interaction/filter/filter.popover.button.component.d.ts +1 -1
- package/lib/interaction/filter/filter.popover.button.directive.d.ts +1 -2
- package/lib/interaction/filter/filter.popover.component.d.ts +6 -6
- package/lib/interaction/popover/_popover.scss +2 -5
- package/lib/interaction/popover/abstract.popover.directive.d.ts +1 -1
- package/lib/interaction/popover/abstract.popover.ref.directive.d.ts +3 -4
- package/lib/interaction/popover/popover.action.directive.d.ts +4 -4
- package/lib/interaction/popover/popover.component.d.ts +2 -2
- package/lib/interaction/popover/popover.controls.directive.d.ts +1 -1
- package/lib/interaction/popover/popover.coordinator.service.d.ts +1 -1
- package/lib/interaction/popover/popover.d.ts +3 -3
- package/lib/interaction/popup/_popup.scss +1 -5
- package/lib/interaction/popup/abstract.popup.directive.d.ts +1 -1
- package/lib/interaction/popup/popup.component.d.ts +1 -1
- package/lib/interaction/popup/popup.coordinator.service.d.ts +1 -2
- package/lib/interaction/popup/popup.d.ts +1 -1
- package/lib/interaction/prompt/_prompt.scss +5 -6
- package/lib/interaction/prompt/prompt.confirm.d.ts +1 -1
- package/lib/interaction/prompt/prompt.confirm.directive.d.ts +3 -3
- package/lib/interaction/style/_style.scss +6 -5
- package/lib/layout/bar/_bar.scss +0 -5
- package/lib/layout/bar/bar.directive.d.ts +1 -1
- package/lib/layout/block/_block.scss +4 -4
- package/lib/layout/card/_card.scss +6 -4
- package/lib/layout/column/_column.scss +2 -7
- package/lib/layout/column/two/two.column.component.d.ts +1 -2
- package/lib/layout/column/two/two.column.context.directive.d.ts +1 -2
- package/lib/layout/column/two/two.column.full.left.directive.d.ts +2 -3
- package/lib/layout/column/two/two.column.store.d.ts +3 -3
- package/lib/layout/content/_content.scss +2 -9
- package/lib/layout/content/content.border.directive.d.ts +1 -1
- package/lib/layout/content/content.box.directive.d.ts +1 -1
- package/lib/layout/content/content.container.directive.d.ts +1 -1
- package/lib/layout/content/content.directive.d.ts +1 -1
- package/lib/layout/content/content.elevate.directive.d.ts +1 -1
- package/lib/layout/content/content.page.directive.d.ts +1 -1
- package/lib/layout/flag/_flag.scss +6 -4
- package/lib/layout/flex/_flex.scss +7 -8
- package/lib/layout/flex/flex.group.directive.d.ts +2 -2
- package/lib/layout/item/_item.scss +6 -4
- package/lib/layout/list/_list.scss +4 -8
- package/lib/layout/list/list.component.d.ts +5 -5
- package/lib/layout/list/list.directive.d.ts +6 -8
- package/lib/layout/list/list.view.d.ts +3 -3
- package/lib/layout/list/list.view.directive.d.ts +0 -1
- package/lib/layout/list/list.view.value.component.d.ts +2 -2
- package/lib/layout/list/list.view.value.d.ts +11 -11
- package/lib/layout/list/list.view.value.directive.d.ts +7 -7
- package/lib/layout/list/list.view.value.item.directive.d.ts +1 -1
- package/lib/layout/list/list.view.value.modifier.d.ts +7 -7
- package/lib/layout/list/list.view.value.modifier.directive.d.ts +2 -3
- package/lib/layout/list/list.view.value.modifier.ripple.directive.d.ts +6 -6
- package/lib/layout/list/list.view.value.selection.component.d.ts +2 -2
- package/lib/layout/list/list.wrapper.d.ts +4 -4
- package/lib/layout/section/_section.scss +7 -18
- package/lib/layout/section/section.header.component.d.ts +1 -1
- package/lib/layout/section/section.intro.component.d.ts +1 -2
- package/lib/layout/step/_step.scss +6 -4
- package/lib/layout/style/_style.scss +3 -7
- package/lib/layout/style/spacer.directive.d.ts +1 -1
- package/lib/layout/style/style.directive.d.ts +1 -1
- package/lib/layout/style/style.service.d.ts +1 -2
- package/lib/layout/style/style.set.directive.d.ts +1 -1
- package/lib/layout/text/_text.scss +0 -5
- package/lib/layout/text/icon.spacer.component.d.ts +1 -1
- package/lib/layout/text/text.chips.component.d.ts +2 -2
- package/lib/loading/basic-loading.component.d.ts +1 -2
- package/lib/loading/loading.action.directive.d.ts +1 -1
- package/lib/router/layout/anchor/_anchor.scss +8 -8
- package/lib/router/layout/anchor/anchor.component.d.ts +3 -3
- package/lib/router/layout/anchor/anchor.segue.directive.d.ts +5 -5
- package/lib/router/layout/anchorlist/_anchorlist.scss +3 -9
- package/lib/router/layout/list/router.list.directive.d.ts +6 -6
- package/lib/router/layout/navbar/_navbar.scss +7 -5
- package/lib/router/layout/sidenav/_sidenav.scss +3 -6
- package/lib/router/provider/router.provider.config.d.ts +1 -1
- package/lib/router/provider/uirouter/anchor.component.d.ts +4 -0
- package/lib/screen/screen.service.d.ts +3 -3
- package/lib/style/_config.scss +43 -25
- package/lib/style/_core.scss +1 -1
- package/lib/style/_function.scss +0 -1
- package/lib/style/_mixin.scss +4 -7
- package/lib/style/_root-variables.scss +0 -2
- package/lib/style/_theming.scss +2 -12
- package/lib/style/_variables.scss +10 -3
- package/package.json +6 -5
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
// MARK: Variables
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
// MARK: Mixin
|
|
7
6
|
@mixin core() {
|
|
8
|
-
|
|
9
7
|
.dbx-anchor a {
|
|
10
8
|
color: inherit;
|
|
11
9
|
text-decoration: none;
|
|
@@ -16,7 +14,7 @@
|
|
|
16
14
|
|
|
17
15
|
.dbx-anchor-a {
|
|
18
16
|
display: block;
|
|
19
|
-
width: 100
|
|
17
|
+
width: 100%;
|
|
20
18
|
}
|
|
21
19
|
}
|
|
22
20
|
}
|
|
@@ -27,7 +25,7 @@
|
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
.dbx-link-spacer:before {
|
|
30
|
-
content:
|
|
28
|
+
content: '|';
|
|
31
29
|
margin: 0 8px;
|
|
32
30
|
}
|
|
33
31
|
|
|
@@ -35,13 +33,15 @@
|
|
|
35
33
|
display: flex;
|
|
36
34
|
align-items: center;
|
|
37
35
|
}
|
|
38
|
-
|
|
39
36
|
}
|
|
40
37
|
|
|
41
|
-
@mixin color($theme-config) {
|
|
38
|
+
@mixin color($theme-config) {
|
|
39
|
+
}
|
|
42
40
|
|
|
43
|
-
@mixin typography($typography-config) {
|
|
41
|
+
@mixin typography($typography-config) {
|
|
42
|
+
}
|
|
44
43
|
|
|
45
44
|
@mixin theme($theme-config) {
|
|
46
|
-
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-anchor') {
|
|
45
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-anchor') {
|
|
46
|
+
}
|
|
47
47
|
}
|
|
@@ -9,10 +9,10 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare class DbxAnchorComponent extends AbstractDbxAnchorDirective implements OnDestroy {
|
|
10
10
|
private readonly dbNgxRouterWebProviderConfig;
|
|
11
11
|
private _templateRef;
|
|
12
|
-
readonly templateRef$: import("rxjs").Observable<Maybe<TemplateRef<
|
|
12
|
+
readonly templateRef$: import("rxjs").Observable<Maybe<TemplateRef<unknown>>>;
|
|
13
13
|
block?: boolean;
|
|
14
|
-
get templateRef(): Maybe<TemplateRef<
|
|
15
|
-
set templateRef(templateRef: Maybe<TemplateRef<
|
|
14
|
+
get templateRef(): Maybe<TemplateRef<unknown>>;
|
|
15
|
+
set templateRef(templateRef: Maybe<TemplateRef<unknown>>);
|
|
16
16
|
readonly url$: import("rxjs").Observable<string | undefined>;
|
|
17
17
|
readonly target$: import("rxjs").Observable<string | undefined>;
|
|
18
18
|
constructor(dbNgxRouterWebProviderConfig: DbxRouterWebProviderConfig);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DbxInjectionTemplateConfig } from
|
|
2
|
-
import { Observable } from
|
|
3
|
-
import { DbxAnchorComponent } from
|
|
1
|
+
import { DbxInjectionTemplateConfig } from '@dereekb/dbx-core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { DbxAnchorComponent } from './anchor.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Abstract implementation
|
|
@@ -8,9 +8,9 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare abstract class AbstractDbxSegueAnchorDirective {
|
|
9
9
|
readonly parent: DbxAnchorComponent;
|
|
10
10
|
readonly target$: Observable<string | undefined>;
|
|
11
|
-
readonly ref$: Observable<
|
|
11
|
+
readonly ref$: Observable<import("@dereekb/dbx-core").SegueRefRouterLink | undefined>;
|
|
12
12
|
readonly refParams$: Observable<import("@dereekb/dbx-core").SegueRefRawSegueParams | undefined>;
|
|
13
|
-
readonly refOptions$: Observable<
|
|
13
|
+
readonly refOptions$: Observable<object | undefined>;
|
|
14
14
|
constructor(parent: DbxAnchorComponent);
|
|
15
15
|
readonly template$: Observable<DbxInjectionTemplateConfig>;
|
|
16
16
|
get anchor(): import("../../../../../../../dist/packages/util/src").Maybe<import("@dereekb/dbx-core").ClickableAnchor>;
|
|
@@ -8,7 +8,8 @@ $active-root-item-left-padding: 2px;
|
|
|
8
8
|
$active-child-item-left-padding: 5px;
|
|
9
9
|
|
|
10
10
|
// MARK: Mixin
|
|
11
|
-
@mixin core() {
|
|
11
|
+
@mixin core() {
|
|
12
|
+
}
|
|
12
13
|
|
|
13
14
|
@mixin color($theme-config) {
|
|
14
15
|
$color-config: theming.get-color-config($theme-config);
|
|
@@ -17,7 +18,6 @@ $active-child-item-left-padding: 5px;
|
|
|
17
18
|
$background-disabled-color: theming.get-color-from-palette($background, 'contrast');
|
|
18
19
|
|
|
19
20
|
.dbx-anchor-list.mat-nav-list {
|
|
20
|
-
|
|
21
21
|
// MARK: Muting
|
|
22
22
|
// items that are not active are muted
|
|
23
23
|
.mat-list-item {
|
|
@@ -40,7 +40,7 @@ $active-child-item-left-padding: 5px;
|
|
|
40
40
|
.dbx-anchor-active-eq {
|
|
41
41
|
.mat-list-item {
|
|
42
42
|
opacity: 1;
|
|
43
|
-
background: color.scale($color
|
|
43
|
+
background: color.scale($color: $background-hover-color, $alpha: 25%);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -54,15 +54,11 @@ $active-child-item-left-padding: 5px;
|
|
|
54
54
|
.dbx-anchor-list-child {
|
|
55
55
|
background: color.scale($background-hover-color, $alpha: 10%);
|
|
56
56
|
}
|
|
57
|
-
|
|
58
57
|
}
|
|
59
|
-
|
|
60
58
|
}
|
|
61
59
|
|
|
62
60
|
@mixin typography($typography-config) {
|
|
63
|
-
|
|
64
61
|
.dbx-anchor-list.mat-nav-list {
|
|
65
|
-
|
|
66
62
|
.mat-list-item .mat-list-icon {
|
|
67
63
|
font-size: 28px;
|
|
68
64
|
width: 28px;
|
|
@@ -81,9 +77,7 @@ $active-child-item-left-padding: 5px;
|
|
|
81
77
|
padding: $active-child-item-left-padding;
|
|
82
78
|
}
|
|
83
79
|
}
|
|
84
|
-
|
|
85
80
|
}
|
|
86
|
-
|
|
87
81
|
}
|
|
88
82
|
|
|
89
83
|
@mixin theme($theme-config) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { OnDestroy } from
|
|
2
|
-
import { ClickableAnchor } from
|
|
3
|
-
import { ArrayOrValue, Maybe, Modifier } from
|
|
4
|
-
import { Observable } from
|
|
5
|
-
import { DbxValueListItem } from
|
|
6
|
-
import { AbstractDbxValueListItemModifierDirective } from
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { ClickableAnchor } from '@dereekb/dbx-core';
|
|
3
|
+
import { ArrayOrValue, Maybe, Modifier } from '@dereekb/util';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { DbxValueListItem } from '../../../layout/list/list.view.value';
|
|
6
|
+
import { AbstractDbxValueListItemModifierDirective } from '../../../layout/list/list.view.value.modifier.directive';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare type AnchorForValueFunction<T> = (value: T, item: DbxValueListItem<T>) => Maybe<ClickableAnchor>;
|
|
9
9
|
export declare const DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY = "router_anchor";
|
|
@@ -4,13 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
// MARK: Variables
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
// MARK: Mixin
|
|
9
|
-
@mixin core() {
|
|
8
|
+
@mixin core() {
|
|
9
|
+
}
|
|
10
10
|
|
|
11
|
-
@mixin color($theme-config) {
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
@mixin color($theme-config) {
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin typography($typography-config) {
|
|
15
|
+
}
|
|
14
16
|
|
|
15
17
|
@mixin theme($theme-config) {
|
|
16
18
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-navbar') {
|
|
@@ -13,7 +13,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
|
|
|
13
13
|
|
|
14
14
|
// MARK: Mixin
|
|
15
15
|
@mixin core() {
|
|
16
|
-
|
|
17
16
|
.dbx-sidenav {
|
|
18
17
|
height: 100%;
|
|
19
18
|
|
|
@@ -53,7 +52,7 @@ $dbx-sidenav-nav-bottom-padding: 24px;
|
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
.mat-sidenav .mat-drawer-inner-container {
|
|
56
|
-
overflow-y: scroll !important
|
|
55
|
+
overflow-y: scroll !important;
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
.dbx-sidenav-nav {
|
|
@@ -65,7 +64,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
|
|
|
65
64
|
.mat-nav-list.dbx-anchor-list {
|
|
66
65
|
padding-top: 0;
|
|
67
66
|
}
|
|
68
|
-
|
|
69
67
|
}
|
|
70
68
|
|
|
71
69
|
.dbx-sidenav-page {
|
|
@@ -77,7 +75,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
|
|
|
77
75
|
overflow: auto;
|
|
78
76
|
}
|
|
79
77
|
}
|
|
80
|
-
|
|
81
78
|
}
|
|
82
79
|
|
|
83
80
|
@mixin color($theme-config) {
|
|
@@ -110,7 +107,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
|
|
|
110
107
|
}
|
|
111
108
|
|
|
112
109
|
.dbx-anchor-active-eq {
|
|
113
|
-
|
|
114
110
|
.mat-list-item {
|
|
115
111
|
border-left: $active-border-left-width solid $active-icon-color;
|
|
116
112
|
|
|
@@ -171,7 +167,8 @@ $dbx-sidenav-nav-bottom-padding: 24px;
|
|
|
171
167
|
*/
|
|
172
168
|
}
|
|
173
169
|
|
|
174
|
-
@mixin typography($typography-config) {
|
|
170
|
+
@mixin typography($typography-config) {
|
|
171
|
+
}
|
|
175
172
|
|
|
176
173
|
@mixin theme($theme-config) {
|
|
177
174
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-sidenav') {
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
1
2
|
import { AbstractDbxSegueAnchorDirective } from '../../layout/anchor/anchor.segue.directive';
|
|
3
|
+
import { TransitionOptions } from '@uirouter/core';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
/**
|
|
4
6
|
* SegueAnchor implementation for UIRouter.
|
|
5
7
|
*/
|
|
6
8
|
export declare class DbxUIRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
9
|
+
readonly uiRef$: Observable<string | null>;
|
|
10
|
+
readonly uiOptions$: Observable<TransitionOptions | null>;
|
|
7
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxUIRouterSegueAnchorComponent, never>;
|
|
8
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxUIRouterSegueAnchorComponent, "ng-component", never, {}, {}, never, never>;
|
|
9
13
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Destroyable } from '@dereekb/util';
|
|
2
|
-
import { MediaMatcher } from
|
|
2
|
+
import { MediaMatcher } from '@angular/cdk/layout';
|
|
3
3
|
import { ObservableOrValue } from '@dereekb/rxjs';
|
|
4
|
-
import { Observable } from
|
|
5
|
-
import { ScreenMediaWidthType, ScreenMediaHeightType } from
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { ScreenMediaWidthType, ScreenMediaHeightType } from './screen';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* ScreenMediaService configuration.
|
package/lib/style/_config.scss
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use 'sass:map';
|
|
2
2
|
@use './variables';
|
|
3
3
|
|
|
4
4
|
// convenience
|
|
5
5
|
@function quick-define-dbx-config-via-banners($top-banner: 0px, $bottom-banner: 0px) {
|
|
6
|
-
@return (
|
|
7
|
-
'
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
@return (
|
|
7
|
+
'layout': (
|
|
8
|
+
'top-banner-height': $top-banner,
|
|
9
|
+
'bottom-banner-height': $bottom-banner
|
|
10
|
+
)
|
|
11
|
+
);
|
|
10
12
|
}
|
|
11
13
|
|
|
12
14
|
// theme
|
|
13
15
|
@function define-dbx-theme-config($theme-config, $input-dbx-theme-config: null) {
|
|
14
|
-
|
|
15
16
|
@if ($input-dbx-theme-config == null) {
|
|
16
17
|
$input-dbx-theme-config: ();
|
|
17
18
|
}
|
|
@@ -27,9 +28,12 @@
|
|
|
27
28
|
'layout': $dbx-layout
|
|
28
29
|
);
|
|
29
30
|
|
|
30
|
-
@return map.merge(
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
@return map.merge(
|
|
32
|
+
$theme-config,
|
|
33
|
+
(
|
|
34
|
+
'dbx': $dbx-theme-config
|
|
35
|
+
)
|
|
36
|
+
);
|
|
33
37
|
}
|
|
34
38
|
|
|
35
39
|
@function get-dbx-theme-config($theme-config) {
|
|
@@ -39,11 +43,15 @@
|
|
|
39
43
|
// screen
|
|
40
44
|
@function define-dbx-screen-config($input-dbx-theme-screen-config: null) {
|
|
41
45
|
$dbx-screen-config: (
|
|
42
|
-
'mobile': 360px,
|
|
43
|
-
|
|
44
|
-
'
|
|
45
|
-
|
|
46
|
-
'
|
|
46
|
+
'mobile': 360px,
|
|
47
|
+
// 0-360px
|
|
48
|
+
'small': 520px,
|
|
49
|
+
//361-520px
|
|
50
|
+
'medium': 768px,
|
|
51
|
+
//521-768px
|
|
52
|
+
'large': 1280px,
|
|
53
|
+
//769-1280px
|
|
54
|
+
'tiny-vertical': 280px //0-280px
|
|
47
55
|
);
|
|
48
56
|
|
|
49
57
|
@if ($input-dbx-theme-screen-config != null) {
|
|
@@ -64,18 +72,28 @@
|
|
|
64
72
|
'top-banner-height': 0px,
|
|
65
73
|
'bottom-banner-height': 0px,
|
|
66
74
|
// navbars
|
|
67
|
-
'page-navbar-height': 42px,
|
|
68
|
-
|
|
75
|
+
'page-navbar-height': 42px,
|
|
76
|
+
// initial main navbar height
|
|
77
|
+
'content-navbar-height': 54px,
|
|
78
|
+
// initial content navbar height
|
|
69
79
|
// content
|
|
70
|
-
'box-max-width': 600px,
|
|
71
|
-
|
|
80
|
+
'box-max-width': 600px,
|
|
81
|
+
// initial max width of box content, such as popups.
|
|
82
|
+
'content-max-width': 1200px,
|
|
83
|
+
// initial max width of restricted-width content
|
|
72
84
|
// padding
|
|
73
|
-
'padding-0': 0px,
|
|
74
|
-
|
|
75
|
-
'padding-
|
|
76
|
-
|
|
77
|
-
'padding-
|
|
78
|
-
|
|
85
|
+
'padding-0': 0px,
|
|
86
|
+
// initial padding-0
|
|
87
|
+
'padding-1': 2px,
|
|
88
|
+
// initial padding-1
|
|
89
|
+
'padding-2': 6px,
|
|
90
|
+
// initial padding-2
|
|
91
|
+
'padding-3': 12px,
|
|
92
|
+
// initial padding-3
|
|
93
|
+
'padding-4': 18px,
|
|
94
|
+
// initial padding-4
|
|
95
|
+
'padding-5': 24px,
|
|
96
|
+
// initial padding-5
|
|
79
97
|
// layout
|
|
80
98
|
'two-column-left-width': 320px
|
|
81
99
|
);
|
|
@@ -120,7 +138,7 @@
|
|
|
120
138
|
}
|
|
121
139
|
|
|
122
140
|
@function get-dbx-layout-padding($theme-config, $padding-level) {
|
|
123
|
-
@return get-dbx-layout-config-var($theme-config, 'padding-'+ $padding-level);
|
|
141
|
+
@return get-dbx-layout-config-var($theme-config, 'padding-' + $padding-level);
|
|
124
142
|
}
|
|
125
143
|
|
|
126
144
|
@function get-dbx-two-column-left-width($theme-config) {
|
package/lib/style/_core.scss
CHANGED
package/lib/style/_function.scss
CHANGED
package/lib/style/_mixin.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use 'sass:map';
|
|
2
2
|
@use './config';
|
|
3
3
|
@use './variables';
|
|
4
4
|
|
|
@@ -53,8 +53,7 @@
|
|
|
53
53
|
@mixin app-height($additionalOffset: 0) {
|
|
54
54
|
@if $additionalOffset !=0 {
|
|
55
55
|
height: calc(variables.$app-height - #{$additionalOffset});
|
|
56
|
-
}
|
|
57
|
-
@else {
|
|
56
|
+
} @else {
|
|
58
57
|
height: variables.$app-height;
|
|
59
58
|
}
|
|
60
59
|
}
|
|
@@ -65,8 +64,7 @@
|
|
|
65
64
|
@mixin page-height($additionalOffset: 0) {
|
|
66
65
|
@if $additionalOffset !=0 {
|
|
67
66
|
height: calc(variables.$page-height - #{$additionalOffset});
|
|
68
|
-
}
|
|
69
|
-
@else {
|
|
67
|
+
} @else {
|
|
70
68
|
height: variables.$page-height;
|
|
71
69
|
}
|
|
72
70
|
}
|
|
@@ -77,8 +75,7 @@
|
|
|
77
75
|
@mixin content-height($additionalOffset: 0) {
|
|
78
76
|
@if $additionalOffset !=0 {
|
|
79
77
|
height: calc(variables.$content-height - #{$additionalOffset});
|
|
80
|
-
}
|
|
81
|
-
@else {
|
|
78
|
+
} @else {
|
|
82
79
|
height: variables.$content-height;
|
|
83
80
|
}
|
|
84
81
|
}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
$initial-bottom-banner-height: theming.get-dbx-layout-bottom-banner-height($theme-config);
|
|
7
7
|
|
|
8
8
|
#{$root-selector} {
|
|
9
|
-
|
|
10
9
|
// variables
|
|
11
10
|
#{theming.$top-banner-height-var}: $initial-top-banner-height;
|
|
12
11
|
#{theming.$bottom-banner-height-var}: $initial-bottom-banner-height;
|
|
@@ -33,5 +32,4 @@
|
|
|
33
32
|
overflow: hidden;
|
|
34
33
|
}
|
|
35
34
|
}
|
|
36
|
-
|
|
37
35
|
}
|
package/lib/style/_theming.scss
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
@forward '@angular/material'show define-light-theme,
|
|
2
|
-
define-dark-theme,
|
|
3
|
-
define-palette,
|
|
4
|
-
get-contrast-color-from-palette,
|
|
5
|
-
get-color-from-palette,
|
|
6
|
-
get-color-config,
|
|
7
|
-
get-typography-config,
|
|
8
|
-
get-density-config,
|
|
9
|
-
elevation;
|
|
1
|
+
@forward '@angular/material' show define-light-theme, define-dark-theme, define-palette, get-contrast-color-from-palette, get-color-from-palette, get-color-config, get-typography-config, get-density-config, elevation;
|
|
10
2
|
|
|
11
|
-
@forward 'node_modules/@angular/material/core/theming/theming'
|
|
12
|
-
show private-check-duplicate-theme-styles,
|
|
13
|
-
$theme-ignore-duplication-warnings;
|
|
3
|
+
@forward 'node_modules/@angular/material/core/theming/theming' show private-check-duplicate-theme-styles, $theme-ignore-duplication-warnings;
|
|
14
4
|
|
|
15
5
|
@forward 'node_modules/@angular/material/core/typography/typography-utils';
|
|
16
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use 'sass:map';
|
|
2
2
|
|
|
3
3
|
// variable names
|
|
4
|
-
$vh100-var: --vh100;
|
|
4
|
+
$vh100-var: --vh100; // variable to use for 100vh.
|
|
5
5
|
|
|
6
6
|
$top-banner-height-var: --dbx-top-banner-height;
|
|
7
7
|
$bottom-banner-height-var: --dbx-bottom-banner-height;
|
|
@@ -44,6 +44,13 @@ $padding-3: var($padding-3-var);
|
|
|
44
44
|
$padding-4: var($padding-4-var);
|
|
45
45
|
$padding-5: var($padding-5-var);
|
|
46
46
|
|
|
47
|
-
$padding-map: (
|
|
47
|
+
$padding-map: (
|
|
48
|
+
0: $padding-0,
|
|
49
|
+
1: $padding-1,
|
|
50
|
+
2: $padding-2,
|
|
51
|
+
3: $padding-3,
|
|
52
|
+
4: $padding-4,
|
|
53
|
+
5: $padding-5
|
|
54
|
+
);
|
|
48
55
|
|
|
49
56
|
$two-column-left-width: var($two-column-left-width-var);
|
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^13.0.0",
|
|
6
6
|
"@angular/core": "^13.0.0",
|
|
7
7
|
"@angular/material": "^13.0.0",
|
|
8
|
-
"@dereekb/rxjs": "
|
|
9
|
-
"@dereekb/dbx-core": "
|
|
8
|
+
"@dereekb/rxjs": "5.0.1",
|
|
9
|
+
"@dereekb/dbx-core": "5.0.1",
|
|
10
10
|
"@angular/flex-layout": "^13.0.0-beta.38",
|
|
11
|
-
"ng-overlay-container": "^13.0.
|
|
11
|
+
"ng-overlay-container": "^13.0.2",
|
|
12
12
|
"@angular/cdk": "^13.0.0",
|
|
13
13
|
"angular-resize-event": "^3.1.1",
|
|
14
14
|
"ngx-infinite-scroll": "^13.0.2",
|
|
15
|
-
"linkify-string": "4.0.0-beta.5"
|
|
15
|
+
"linkify-string": "4.0.0-beta.5",
|
|
16
|
+
"@uirouter/angular": "^9.1.0"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
18
19
|
"tslib": "^2.3.0"
|