@dereekb/dbx-web 9.15.7 → 9.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/esm2020/lib/interaction/filter/filter.module.mjs +23 -5
  2. package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +1 -1
  3. package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +1 -1
  4. package/esm2020/lib/interaction/filter/filter.popover.component.mjs +12 -5
  5. package/esm2020/lib/interaction/filter/filter.preset.list.component.mjs +21 -0
  6. package/esm2020/lib/interaction/filter/filter.preset.menu.component.mjs +61 -0
  7. package/esm2020/lib/interaction/filter/filter.preset.mjs +64 -0
  8. package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +37 -22
  9. package/esm2020/lib/interaction/filter/index.mjs +3 -1
  10. package/esm2020/lib/layout/column/two/index.mjs +2 -1
  11. package/esm2020/lib/layout/column/two/two.column.module.mjs +5 -4
  12. package/esm2020/lib/layout/column/two/two.column.sref.showright.directive.mjs +34 -0
  13. package/esm2020/lib/router/layout/anchor/anchor.component.mjs +4 -3
  14. package/fesm2015/dereekb-dbx-web.mjs +210 -36
  15. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  16. package/fesm2020/dereekb-dbx-web.mjs +215 -36
  17. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  18. package/lib/interaction/filter/filter.module.d.ts +13 -7
  19. package/lib/interaction/filter/filter.popover.button.component.d.ts +1 -1
  20. package/lib/interaction/filter/filter.popover.button.directive.d.ts +2 -2
  21. package/lib/interaction/filter/filter.popover.component.d.ts +12 -5
  22. package/lib/interaction/filter/filter.preset.d.ts +24 -0
  23. package/lib/interaction/filter/filter.preset.list.component.d.ts +7 -0
  24. package/lib/interaction/filter/filter.preset.menu.component.d.ts +28 -0
  25. package/lib/interaction/filter/filter.wrapper.component.d.ts +14 -10
  26. package/lib/interaction/filter/index.d.ts +2 -0
  27. package/lib/layout/column/two/index.d.ts +1 -0
  28. package/lib/layout/column/two/two.column.module.d.ts +8 -7
  29. package/lib/layout/column/two/two.column.sref.showright.directive.d.ts +16 -0
  30. package/lib/router/layout/anchor/_anchor.scss +11 -1
  31. package/lib/router/layout/anchor/anchor.component.d.ts +1 -0
  32. package/lib/router/layout/anchorlist/_anchorlist.scss +13 -0
  33. package/mapbox/package.json +3 -3
  34. package/package.json +3 -3
@@ -2,14 +2,20 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./filter.popover.component";
3
3
  import * as i2 from "./filter.popover.button.component";
4
4
  import * as i3 from "./filter.wrapper.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "../popover/popover.module";
7
- import * as i6 from "@dereekb/dbx-core";
8
- import * as i7 from "@angular/flex-layout";
9
- import * as i8 from "@angular/material/icon";
10
- import * as i9 from "@angular/material/button";
5
+ import * as i4 from "./filter.preset.list.component";
6
+ import * as i5 from "./filter.preset.menu.component";
7
+ import * as i6 from "@angular/common";
8
+ import * as i7 from "../popover/popover.module";
9
+ import * as i8 from "@dereekb/dbx-core";
10
+ import * as i9 from "../../button/button.module";
11
+ import * as i10 from "../../router/layout/anchor/anchor.module";
12
+ import * as i11 from "../../router/layout/anchorlist/anchorlist.module";
13
+ import * as i12 from "@angular/flex-layout";
14
+ import * as i13 from "@angular/material/menu";
15
+ import * as i14 from "@angular/material/icon";
16
+ import * as i15 from "@angular/material/button";
11
17
  export declare class DbxFilterInteractionModule {
12
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterInteractionModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFilterInteractionModule, [typeof i1.DbxFilterPopoverComponent, typeof i2.DbxFilterPopoverButtonComponent, typeof i3.DbxFilterWrapperComponent], [typeof i4.CommonModule, typeof i5.DbxPopoverInteractionModule, typeof i6.DbxCoreFilterModule, typeof i6.DbxInjectionComponentModule, typeof i7.FlexLayoutModule, typeof i8.MatIconModule, typeof i9.MatButtonModule], [typeof i6.DbxCoreFilterModule, typeof i2.DbxFilterPopoverButtonComponent, typeof i3.DbxFilterWrapperComponent]>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFilterInteractionModule, [typeof i1.DbxFilterPopoverComponent, typeof i2.DbxFilterPopoverButtonComponent, typeof i3.DbxFilterWrapperComponent, typeof i4.DbxPresetFilterListComponent, typeof i5.DbxPresetFilterMenuComponent], [typeof i6.CommonModule, typeof i7.DbxPopoverInteractionModule, typeof i8.DbxCoreFilterModule, typeof i9.DbxButtonModule, typeof i10.DbxRouterAnchorModule, typeof i11.DbxRouterAnchorListModule, typeof i8.DbxInjectionComponentModule, typeof i12.FlexLayoutModule, typeof i13.MatMenuModule, typeof i14.MatIconModule, typeof i15.MatButtonModule], [typeof i8.DbxCoreFilterModule, typeof i2.DbxFilterPopoverButtonComponent, typeof i3.DbxFilterWrapperComponent, typeof i4.DbxPresetFilterListComponent, typeof i5.DbxPresetFilterMenuComponent]>;
14
20
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxFilterInteractionModule>;
15
21
  }
@@ -1,7 +1,7 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { AbstractFilterPopoverButtonDirective } from './filter.popover.button.directive';
3
3
  import * as i0 from "@angular/core";
4
- export declare class DbxFilterPopoverButtonComponent<F = object> extends AbstractFilterPopoverButtonDirective<F> {
4
+ export declare class DbxFilterPopoverButtonComponent<F extends object = object> extends AbstractFilterPopoverButtonDirective<F> {
5
5
  buttonElement: ElementRef;
6
6
  showFilterPopover(): void;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterPopoverButtonComponent<any>, never>;
@@ -3,8 +3,8 @@ import { DbxPopoverService } from '../popover/popover.service';
3
3
  import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
4
4
  import { DbxFilterComponentParams } from './filter.popover.component';
5
5
  import * as i0 from "@angular/core";
6
- export declare type DbxFilterButtonConfig<F> = DbxFilterComponentParams<F>;
7
- export declare abstract class AbstractFilterPopoverButtonDirective<F> extends AbstractSubscriptionDirective {
6
+ export declare type DbxFilterButtonConfig<F extends object> = DbxFilterComponentParams<F>;
7
+ export declare abstract class AbstractFilterPopoverButtonDirective<F extends object> extends AbstractSubscriptionDirective {
8
8
  private readonly popupService;
9
9
  config?: DbxFilterButtonConfig<F>;
10
10
  private _popoverRef?;
@@ -8,7 +8,7 @@ import { DbxPopoverService } from '../popover/popover.service';
8
8
  import { FilterSource, FilterSourceConnector, PresetFilterSource } from '@dereekb/rxjs';
9
9
  import { DbxPopoverKey } from '../popover/popover';
10
10
  import * as i0 from "@angular/core";
11
- export interface DbxFilterComponentParams<F = object> {
11
+ export interface DbxFilterComponentParams<F extends object = object, P extends string = string> {
12
12
  /**
13
13
  * Custom filter component to initialize.
14
14
  */
@@ -16,7 +16,7 @@ export interface DbxFilterComponentParams<F = object> {
16
16
  /**
17
17
  * Preset filter component to initialize.
18
18
  */
19
- presetFilterComponentClass?: Type<PresetFilterSource<F>>;
19
+ presetFilterComponentClass?: Type<PresetFilterSource<F, P>>;
20
20
  /**
21
21
  * The connector to use.
22
22
  */
@@ -25,15 +25,22 @@ export interface DbxFilterComponentParams<F = object> {
25
25
  * (Optional) Inital filter to pass to the filter source.
26
26
  */
27
27
  initialFilterObs?: Observable<F>;
28
+ /**
29
+ * (Optional) Whether or not to close the component if the filter changes.
30
+ *
31
+ * True by default.
32
+ */
33
+ closeOnFilterChange?: boolean;
28
34
  }
29
- export interface DbxFilterPopoverComponentParams<F = object> extends DbxFilterComponentParams<F> {
35
+ export interface DbxFilterPopoverComponentParams<F extends object = object> extends DbxFilterComponentParams<F> {
30
36
  /**
31
37
  * Origin to add the popover to.
32
38
  */
33
39
  origin: ElementRef;
34
40
  }
35
41
  export declare const DEFAULT_FILTER_POPOVER_KEY = "filter";
36
- export declare class DbxFilterPopoverComponent<F> extends AbstractPopoverDirective<unknown, DbxFilterComponentParams<F>> implements OnInit, OnDestroy {
42
+ export declare class DbxFilterPopoverComponent<F extends object> extends AbstractPopoverDirective<unknown, DbxFilterComponentParams<F>> implements OnInit, OnDestroy {
43
+ private _closeOnChangeSub;
37
44
  /**
38
45
  * Whether or not to display buttons to toggle between custom and preset filters.
39
46
  */
@@ -41,7 +48,7 @@ export declare class DbxFilterPopoverComponent<F> extends AbstractPopoverDirecti
41
48
  private _showPreset;
42
49
  readonly showPreset$: Observable<boolean>;
43
50
  readonly config$: Observable<DbxInjectionComponentConfig<FilterSource<F>>>;
44
- static openPopover<F>(popupService: DbxPopoverService, { origin, initialFilterObs: inputSource, connector, customFilterComponentClass, presetFilterComponentClass }: DbxFilterPopoverComponentParams<F>, popoverKey?: DbxPopoverKey): NgPopoverRef;
51
+ static openPopover<F extends object>(popupService: DbxPopoverService, { origin, initialFilterObs: inputSource, connector, customFilterComponentClass, presetFilterComponentClass }: DbxFilterPopoverComponentParams<F>, popoverKey?: DbxPopoverKey): NgPopoverRef;
45
52
  constructor(popover: DbxPopoverComponent<unknown, DbxFilterComponentParams<F>>);
46
53
  get config(): DbxFilterComponentParams<F>;
47
54
  ngOnInit(): void;
@@ -0,0 +1,24 @@
1
+ import { Observable } from 'rxjs';
2
+ import { OnDestroy } from '@angular/core';
3
+ import { ClickableFilterPreset, ClickableAnchorLink, FilterSourceDirective } from '@dereekb/dbx-core';
4
+ import { Maybe } from '@dereekb/util';
5
+ import { FilterWithPreset } from '@dereekb/rxjs';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Displays a button and menu for filtering presets.
9
+ */
10
+ export declare abstract class AbstractDbxPresetFilterMenuComponent<F extends FilterWithPreset> implements OnDestroy {
11
+ readonly filterSourceDirective: FilterSourceDirective<F>;
12
+ private _presets;
13
+ readonly selected$: Observable<Maybe<F>>;
14
+ readonly selectedPresetString$: Observable<Maybe<string>>;
15
+ readonly presetAnchors$: Observable<ClickableAnchorLink[]>;
16
+ readonly selectedPreset$: Observable<Maybe<ClickableFilterPreset<F>>>;
17
+ get presets(): ClickableFilterPreset<F>[];
18
+ set presets(presets: ClickableFilterPreset<F>[]);
19
+ constructor(filterSourceDirective: FilterSourceDirective<F>);
20
+ selectPreset(preset: ClickableFilterPreset<F>): void;
21
+ ngOnDestroy(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxPresetFilterMenuComponent<any>, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxPresetFilterMenuComponent<any>, never, never, { "presets": "presets"; }, {}, never, never, false>;
24
+ }
@@ -0,0 +1,7 @@
1
+ import { FilterWithPreset } from '@dereekb/rxjs';
2
+ import { AbstractDbxPresetFilterMenuComponent } from './filter.preset';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DbxPresetFilterListComponent<F extends FilterWithPreset> extends AbstractDbxPresetFilterMenuComponent<F> {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxPresetFilterListComponent<any>, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxPresetFilterListComponent<any>, "dbx-preset-filter-list", never, {}, {}, never, never, false>;
7
+ }
@@ -0,0 +1,28 @@
1
+ import { Observable } from 'rxjs';
2
+ import { FilterWithPreset } from '@dereekb/rxjs';
3
+ import { AbstractDbxPresetFilterMenuComponent } from './filter.preset';
4
+ import * as i0 from "@angular/core";
5
+ export interface DbxPresetFilterMenuConfig {
6
+ unknownSelectionText?: string;
7
+ /**
8
+ * The icon to use for the filter, or false if no icon should be shown.
9
+ */
10
+ filterIcon?: string | false;
11
+ /**
12
+ * Whether or not to use the preset's icon if one is defined. If filterIcon is false, the icon will only appear when an item is selected.
13
+ */
14
+ usePresetIcon?: boolean;
15
+ }
16
+ /**
17
+ * Displays a button and menu for filtering presets.
18
+ */
19
+ export declare class DbxPresetFilterMenuComponent<F extends FilterWithPreset> extends AbstractDbxPresetFilterMenuComponent<F> {
20
+ private _config;
21
+ readonly buttonText$: Observable<string>;
22
+ readonly buttonIcon$: Observable<string | undefined>;
23
+ get config(): DbxPresetFilterMenuConfig;
24
+ set config(config: DbxPresetFilterMenuConfig);
25
+ ngOnDestroy(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxPresetFilterMenuComponent<any>, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxPresetFilterMenuComponent<any>, "dbx-preset-filter-menu", never, { "config": "config"; }, {}, never, never, false>;
28
+ }
@@ -1,14 +1,18 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { AbstractDbxActionHandlerDirective, DbxActionContextStoreSourceInstance, FilterSourceDirective } from '@dereekb/dbx-core';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
- * Used for adding a reset and filter button to a form.
4
+ * Action component used to simplify creating a filter form.
5
+ *
6
+ * Provides a DbxAction and configures the action to set the filter on a FilterSourceDirective when triggered.
5
7
  */
6
- export declare class DbxFilterWrapperComponent {
7
- modified?: boolean;
8
- readonly applyFilter: EventEmitter<any>;
9
- readonly resetFilter: EventEmitter<any>;
10
- filterClicked(): void;
11
- resetClicked(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterWrapperComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxFilterWrapperComponent, "dbx-filter-wrapper", never, { "modified": "modified"; }, { "applyFilter": "applyFilter"; "resetFilter": "resetFilter"; }, never, ["*"], false>;
8
+ export declare class DbxFilterWrapperComponent<F = unknown> extends AbstractDbxActionHandlerDirective<F> {
9
+ readonly filterSourceDirective: FilterSourceDirective<F>;
10
+ applyRaised: boolean;
11
+ applyIcon: string;
12
+ applyText: string;
13
+ constructor(source: DbxActionContextStoreSourceInstance<F>, filterSourceDirective: FilterSourceDirective<F>);
14
+ applyFilter(): void;
15
+ resetFilter(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterWrapperComponent<any>, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxFilterWrapperComponent<any>, "dbx-filter-wrapper", never, { "applyRaised": "applyRaised"; "applyIcon": "applyIcon"; "applyText": "applyText"; }, {}, never, ["*"], false>;
14
18
  }
@@ -3,3 +3,5 @@ export * from './filter.popover.button.component';
3
3
  export * from './filter.popover.button.directive';
4
4
  export * from './filter.popover.component';
5
5
  export * from './filter.wrapper.component';
6
+ export * from './filter.preset.list.component';
7
+ export * from './filter.preset.menu.component';
@@ -7,3 +7,4 @@ export * from './two.column.module';
7
7
  export * from './two.column.right.component';
8
8
  export * from './two.column.sref.directive';
9
9
  export * from './two.column.store';
10
+ export * from './two.column.sref.showright.directive';
@@ -6,14 +6,15 @@ import * as i4 from "./two.column.sref.directive";
6
6
  import * as i5 from "./two.column.back.directive";
7
7
  import * as i6 from "./two.column.full.left.directive";
8
8
  import * as i7 from "./two.column.context.directive";
9
- import * as i8 from "@angular/common";
10
- import * as i9 from "@angular/material/icon";
11
- import * as i10 from "@angular/material/button";
12
- import * as i11 from "../../../router/layout/anchor/anchor.module";
13
- import * as i12 from "../../content/content.layout.module";
14
- import * as i13 from "angular-resize-event";
9
+ import * as i8 from "./two.column.sref.showright.directive";
10
+ import * as i9 from "@angular/common";
11
+ import * as i10 from "@angular/material/icon";
12
+ import * as i11 from "@angular/material/button";
13
+ import * as i12 from "../../../router/layout/anchor/anchor.module";
14
+ import * as i13 from "../../content/content.layout.module";
15
+ import * as i14 from "angular-resize-event";
15
16
  export declare class DbxTwoColumnLayoutModule {
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnLayoutModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTwoColumnLayoutModule, [typeof i1.DbxTwoColumnComponent, typeof i2.DbxTwoColumnRightComponent, typeof i3.DbxTwoColumnColumnHeadComponent, typeof i4.DbxTwoColumnSrefDirective, typeof i5.DbxTwoColumnBackDirective, typeof i6.DbxTwoColumnFullLeftDirective, typeof i7.DbxTwoColumnContextDirective], [typeof i8.CommonModule, typeof i9.MatIconModule, typeof i10.MatButtonModule, typeof i11.DbxRouterAnchorModule, typeof i12.DbxContentLayoutModule, typeof i13.AngularResizeEventModule], [typeof i1.DbxTwoColumnComponent, typeof i2.DbxTwoColumnRightComponent, typeof i3.DbxTwoColumnColumnHeadComponent, typeof i4.DbxTwoColumnSrefDirective, typeof i5.DbxTwoColumnBackDirective, typeof i6.DbxTwoColumnFullLeftDirective, typeof i7.DbxTwoColumnContextDirective]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTwoColumnLayoutModule, [typeof i1.DbxTwoColumnComponent, typeof i2.DbxTwoColumnRightComponent, typeof i3.DbxTwoColumnColumnHeadComponent, typeof i4.DbxTwoColumnSrefDirective, typeof i5.DbxTwoColumnBackDirective, typeof i6.DbxTwoColumnFullLeftDirective, typeof i7.DbxTwoColumnContextDirective, typeof i8.DbxTwoColumnSrefShowRightDirective], [typeof i9.CommonModule, typeof i10.MatIconModule, typeof i11.MatButtonModule, typeof i12.DbxRouterAnchorModule, typeof i13.DbxContentLayoutModule, typeof i14.AngularResizeEventModule], [typeof i1.DbxTwoColumnComponent, typeof i2.DbxTwoColumnRightComponent, typeof i3.DbxTwoColumnColumnHeadComponent, typeof i4.DbxTwoColumnSrefDirective, typeof i5.DbxTwoColumnBackDirective, typeof i6.DbxTwoColumnFullLeftDirective, typeof i7.DbxTwoColumnContextDirective, typeof i8.DbxTwoColumnSrefShowRightDirective]>;
18
19
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxTwoColumnLayoutModule>;
19
20
  }
@@ -0,0 +1,16 @@
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { AbstractSubscriptionDirective, DbxRouterService } from '@dereekb/dbx-core';
3
+ import { TwoColumnsContextStore } from './two.column.store';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Used with a DbxTwoColumnComponent to control showing right when the current route is a child of the backRef.
7
+ */
8
+ export declare class DbxTwoColumnSrefShowRightDirective extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
9
+ private readonly _twoColumnsContextStore;
10
+ private readonly _dbxRouterService;
11
+ readonly showRight$: import("rxjs").Observable<boolean>;
12
+ constructor(_twoColumnsContextStore: TwoColumnsContextStore, _dbxRouterService: DbxRouterService);
13
+ ngOnInit(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnSrefShowRightDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxTwoColumnSrefShowRightDirective, "[dbxTwoColumnSrefShowRight]", never, {}, {}, never, never, false>;
16
+ }
@@ -4,7 +4,7 @@
4
4
 
5
5
  // MARK: Mixin
6
6
  @mixin core() {
7
- .dbx-anchor a {
7
+ a.dbx-anchor-a {
8
8
  color: inherit;
9
9
  text-decoration: none;
10
10
 
@@ -43,5 +43,15 @@
43
43
 
44
44
  @mixin theme($theme-config) {
45
45
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-anchor') {
46
+ $color: theming.get-color-config($theme-config);
47
+ $typography: theming.get-typography-config($theme-config);
48
+
49
+ @if $color !=null {
50
+ @include color($theme-config);
51
+ }
52
+
53
+ @if $typography !=null {
54
+ @include typography($typography);
55
+ }
46
56
  }
47
57
  }
@@ -15,6 +15,7 @@ export declare class DbxAnchorComponent extends AbstractDbxAnchorDirective imple
15
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
+ readonly selectedClass$: import("rxjs").Observable<"" | "dbx-anchor-selected">;
18
19
  constructor(dbNgxRouterWebProviderConfig: DbxRouterWebProviderConfig);
19
20
  ngOnDestroy(): void;
20
21
  get srefAnchorConfig(): DbxInjectionComponentConfig;
@@ -13,11 +13,16 @@ $active-child-item-left-padding: 5px;
13
13
 
14
14
  @mixin color($theme-config) {
15
15
  $color-config: theming.get-color-config($theme-config);
16
+ $foreground: map.get($color-config, 'foreground');
17
+ $primary: map.get($color-config, 'primary');
18
+
16
19
  $background: map.get($color-config, 'background');
17
20
  $background-hover-color: theming.get-color-from-palette($background, 'hover');
18
21
  $background-disabled-color: theming.get-color-from-palette($background, 'contrast');
19
22
 
20
23
  .dbx-anchor-list.mat-nav-list {
24
+ padding-top: 0;
25
+
21
26
  // MARK: Muting
22
27
  // items that are not active are muted
23
28
  .mat-list-item {
@@ -36,6 +41,14 @@ $active-child-item-left-padding: 5px;
36
41
  }
37
42
  }
38
43
 
44
+ // selected
45
+ .dbx-anchor-selected {
46
+ .mat-list-item {
47
+ opacity: 1;
48
+ background: color.scale($color: $background-hover-color, $alpha: 10%);
49
+ }
50
+ }
51
+
39
52
  // active route
40
53
  .dbx-anchor-active-eq {
41
54
  .mat-list-item {
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "9.15.7",
3
+ "version": "9.16.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0",
7
- "@dereekb/dbx-core": "9.15.7",
8
- "@dereekb/dbx-web": "9.15.7",
7
+ "@dereekb/dbx-core": "9.16.0",
8
+ "@dereekb/dbx-web": "9.16.0",
9
9
  "ngx-mapbox-gl": "^9.1.0",
10
10
  "mapbox-gl": "^2.9.2",
11
11
  "@mapbox/geo-viewport": "git+https://git@github.com/dereekb/geo-viewport#165513972f87dca23a20c177f4d173edc51b5e2f"
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "9.15.7",
3
+ "version": "9.16.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",
7
7
  "linkify-string": "4.0.0-beta.5",
8
8
  "linkifyjs": "^4.0.0-beta.5",
9
9
  "@angular/material": "^14.0.0",
10
- "@dereekb/rxjs": "9.15.7",
11
- "@dereekb/dbx-core": "9.15.7",
10
+ "@dereekb/rxjs": "9.16.0",
11
+ "@dereekb/dbx-core": "9.16.0",
12
12
  "angular-calendar": "^0.30.1",
13
13
  "@angular/flex-layout": "^14.0.0-beta.40",
14
14
  "ng-overlay-container": "^14.0.0",