@dereekb/dbx-web 9.22.5 → 9.22.7

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.
@@ -4,8 +4,9 @@ import * as i2 from "./button.spacer.component";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "./progress/button.progress.module";
6
6
  import * as i5 from "@dereekb/dbx-core";
7
+ import * as i6 from "./icon/icon.button.module";
7
8
  export declare class DbxButtonModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxButtonModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxButtonModule, [typeof i1.DbxButtonComponent, typeof i2.DbxButtonSpacerDirective], [typeof i3.CommonModule, typeof i4.DbxProgressButtonsModule], [typeof i5.DbxCoreButtonModule, typeof i4.DbxProgressButtonsModule, typeof i1.DbxButtonComponent, typeof i2.DbxButtonSpacerDirective]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxButtonModule, [typeof i1.DbxButtonComponent, typeof i2.DbxButtonSpacerDirective], [typeof i3.CommonModule, typeof i4.DbxProgressButtonsModule], [typeof i5.DbxCoreButtonModule, typeof i4.DbxProgressButtonsModule, typeof i6.DbxIconButtonModule, typeof i1.DbxButtonComponent, typeof i2.DbxButtonSpacerDirective]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxButtonModule>;
11
12
  }
@@ -0,0 +1,9 @@
1
+ import { AbstractDbxButtonDirective } from '@dereekb/dbx-core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Simple dbx-button that displays a button with an icon.
5
+ */
6
+ export declare class DbxIconButtonComponent extends AbstractDbxButtonDirective {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxIconButtonComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxIconButtonComponent, "dbx-icon-button", never, {}, {}, never, never, false>;
9
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon.button.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/button";
5
+ import * as i4 from "@angular/material/icon";
6
+ export declare class DbxIconButtonModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxIconButtonModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxIconButtonModule, [typeof i1.DbxIconButtonComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatIconModule], [typeof i1.DbxIconButtonComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbxIconButtonModule>;
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './icon.button.component';
2
+ export * from './icon.button.module';
@@ -1,3 +1,4 @@
1
+ export * from './icon';
1
2
  export * from './progress';
2
3
  export * from './button.component';
3
4
  export * from './button.spacer.component';
@@ -1,14 +1,12 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { AbstractFilterPopoverButtonDirective } from './filter.popover.button.directive';
3
- import { DbxButtonDisplayContent, DbxButtonDisplayContentType } from '@dereekb/dbx-core';
3
+ import { DbxButtonDisplayContent } from '@dereekb/dbx-core';
4
4
  import { Maybe } from '@dereekb/util';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class DbxFilterPopoverButtonComponent<F extends object = object> extends AbstractFilterPopoverButtonDirective<F> {
7
7
  private _buttonDisplay;
8
- private _buttonDisplayType;
9
8
  get buttonDisplay(): DbxButtonDisplayContent;
10
9
  set buttonDisplay(buttonDisplay: Maybe<DbxButtonDisplayContent>);
11
- get buttonDisplayType(): DbxButtonDisplayContentType;
12
10
  buttonElement: ElementRef;
13
11
  showFilterPopover(): void;
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterPopoverButtonComponent<any>, never>;
@@ -103,17 +103,13 @@ $header-left-reserved-space-small-screen: 120px;
103
103
  @include theming.nested-content-height(1); // always take up the height
104
104
  }
105
105
 
106
- &.dbx-section-page-scroll-header {
106
+ &.dbx-section-page-scroll-locked {
107
107
  overflow: hidden;
108
-
109
- .dbx-section-page-content {
110
- padding-top: $header-bottom-margin;
111
- overflow: auto;
112
- }
113
108
  }
114
109
 
115
- &.dbx-section-page-scroll-locked {
116
- overflow: hidden;
110
+ &.dbx-section-page-scroll-body > .dbx-section-page-content {
111
+ overflow-y: auto; // content can scroll on y axis
112
+ overflow-x: hidden;
117
113
  }
118
114
 
119
115
  .dbx-section-page {
@@ -3,7 +3,7 @@ import { ScreenMediaWidthType } from './../../../screen/screen';
3
3
  import { DbxScreenMediaService } from '../../../screen/screen.service';
4
4
  import { Maybe } from '@dereekb/util';
5
5
  import { OnDestroy, ChangeDetectorRef } from '@angular/core';
6
- import { ClickableAnchorLinkSegueRef, DbxRouterService, DbxRouterTransitionService, AbstractTransitionDirective } from '@dereekb/dbx-core';
6
+ import { ClickableAnchorLinkSegueRef, DbxRouterService, DbxRouterTransitionService, AbstractTransitionDirective, DbxButtonDisplayContent } from '@dereekb/dbx-core';
7
7
  import { HorizontalConnectionPos } from '@angular/cdk/overlay';
8
8
  import * as i0 from "@angular/core";
9
9
  interface NavAnchorLink {
@@ -11,7 +11,7 @@ interface NavAnchorLink {
11
11
  anchor: ClickableAnchorLinkSegueRef;
12
12
  }
13
13
  export declare type NavBarContentAlign = 'center' | 'left' | 'right';
14
- export declare type NavbarMode = 'bar' | 'button';
14
+ export declare type NavbarMode = 'bar' | 'button' | 'icon';
15
15
  /**
16
16
  * Component that displays a navbar.
17
17
  */
@@ -19,21 +19,26 @@ export declare class DbxNavbarComponent extends AbstractTransitionDirective impl
19
19
  private cdRef;
20
20
  private readonly _dbxScreenMediaService;
21
21
  private readonly _dbxRouterService;
22
- icon: string;
23
22
  navAlign: HorizontalConnectionPos;
23
+ private _icon;
24
+ private _defaultIcon;
24
25
  private _inputMode;
25
26
  private _breakpoint;
26
27
  private _anchors;
27
28
  readonly isBreakpointActive$: Observable<boolean>;
28
- readonly mode$: Observable<"button" | "bar">;
29
+ readonly mode$: Observable<"button" | "icon" | "bar">;
29
30
  readonly anchors$: Observable<NavAnchorLink[]>;
31
+ readonly selectedAnchor$: Observable<Maybe<NavAnchorLink>>;
30
32
  readonly hasNoAnchors$: Observable<boolean>;
33
+ readonly buttonDisplay$: Observable<DbxButtonDisplayContent>;
31
34
  constructor(dbxRouterTransitionService: DbxRouterTransitionService, cdRef: ChangeDetectorRef, _dbxScreenMediaService: DbxScreenMediaService, _dbxRouterService: DbxRouterService);
32
35
  ngOnDestroy(): void;
36
+ set icon(icon: Maybe<string>);
37
+ set defaultIcon(defaultIcon: Maybe<string>);
33
38
  set anchors(anchors: Maybe<ClickableAnchorLinkSegueRef[]>);
34
39
  set mode(mode: Maybe<NavbarMode>);
35
40
  set breakpoint(breakpoint: ScreenMediaWidthType);
36
41
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxNavbarComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxNavbarComponent, "dbx-navbar", never, { "icon": "icon"; "navAlign": "navAlign"; "anchors": "anchors"; "mode": "mode"; "breakpoint": "breakpoint"; }, {}, never, never, false>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxNavbarComponent, "dbx-navbar", never, { "navAlign": "navAlign"; "icon": "icon"; "defaultIcon": "defaultIcon"; "anchors": "anchors"; "mode": "mode"; "breakpoint": "breakpoint"; }, {}, never, never, false>;
38
43
  }
39
44
  export {};
@@ -1,13 +1,14 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./navbar.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/tabs";
5
- import * as i4 from "@angular/material/button";
6
- import * as i5 from "@angular/material/icon";
7
- import * as i6 from "@angular/material/menu";
8
- import * as i7 from "../anchor/anchor.module";
4
+ import * as i3 from "../../../button/icon/icon.button.module";
5
+ import * as i4 from "@angular/material/tabs";
6
+ import * as i5 from "@angular/material/button";
7
+ import * as i6 from "@angular/material/icon";
8
+ import * as i7 from "@angular/material/menu";
9
+ import * as i8 from "../anchor/anchor.module";
9
10
  export declare class DbxRouterNavbarModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxRouterNavbarModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxRouterNavbarModule, [typeof i1.DbxNavbarComponent], [typeof i2.CommonModule, typeof i3.MatTabsModule, typeof i4.MatButtonModule, typeof i5.MatIconModule, typeof i6.MatMenuModule, typeof i7.DbxRouterAnchorModule], [typeof i1.DbxNavbarComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxRouterNavbarModule, [typeof i1.DbxNavbarComponent], [typeof i2.CommonModule, typeof i3.DbxIconButtonModule, typeof i4.MatTabsModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatMenuModule, typeof i8.DbxRouterAnchorModule], [typeof i1.DbxNavbarComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxRouterNavbarModule>;
13
14
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "9.22.5",
3
+ "version": "9.22.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0",
7
- "@dereekb/dbx-core": "9.22.5",
8
- "@dereekb/dbx-web": "9.22.5",
7
+ "@dereekb/dbx-core": "9.22.7",
8
+ "@dereekb/dbx-web": "9.22.7",
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.22.5",
3
+ "version": "9.22.7",
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.2.0",
10
- "@dereekb/rxjs": "9.22.5",
11
- "@dereekb/dbx-core": "9.22.5",
10
+ "@dereekb/rxjs": "9.22.7",
11
+ "@dereekb/dbx-core": "9.22.7",
12
12
  "change-case": "^4.1.2",
13
13
  "@angular/flex-layout": "^14.0.0-beta.41",
14
14
  "ng-overlay-container": "^14.0.0",
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/table",
3
- "version": "9.22.5",
3
+ "version": "9.22.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
7
- "@dereekb/dbx-core": "9.22.5",
7
+ "@dereekb/dbx-core": "9.22.7",
8
8
  "@angular/material": "^14.2.0",
9
9
  "@angular/forms": "^14.2.0",
10
- "@dereekb/dbx-web": "9.22.5"
10
+ "@dereekb/dbx-web": "9.22.7"
11
11
  },
12
12
  "dependencies": {
13
13
  "tslib": "^2.3.0"