@dereekb/dbx-web 9.22.9 → 9.22.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.
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
11
11
  */
12
12
  export declare class DbxTwoColumnRightComponent implements AfterViewInit, OnDestroy {
13
13
  private readonly twoColumnsContextStore;
14
- header?: string;
14
+ header?: Maybe<string>;
15
15
  block?: boolean;
16
16
  private _showBack;
17
17
  readonly ref$: Observable<Maybe<ClickableAnchor>>;
@@ -8,6 +8,7 @@ $hint-opacity: 0.8;
8
8
  $note-opacity: 0.7;
9
9
  $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
10
10
  $dbx-label-padded-padding: 6px;
11
+ $dbx-detail-block-content-offset: 30px;
11
12
 
12
13
  // MARK: Mixin
13
14
  @mixin core() {
@@ -35,6 +36,43 @@ $dbx-label-padded-padding: 6px;
35
36
  padding: 3px 0;
36
37
  }
37
38
 
39
+ .dbx-detail-block-header {
40
+ display: flex;
41
+ align-items: center;
42
+
43
+ .mat-icon {
44
+ padding-right: 6px;
45
+ }
46
+
47
+ .dbx-anchor-a {
48
+ text-decoration: underline;
49
+ }
50
+
51
+ padding-bottom: 12px;
52
+ }
53
+
54
+ .dbx-detail-block-header-no-icon {
55
+ padding-left: $dbx-detail-block-content-offset;
56
+ }
57
+
58
+ .dbx-detail-block {
59
+ .dbx-detail-block-header {
60
+ padding-bottom: 2px;
61
+
62
+ .dbx-detail-block-header-label {
63
+ font-weight: 400;
64
+ }
65
+ }
66
+
67
+ .dbx-detail-block-content {
68
+ opacity: 0.8;
69
+ font-size: 0.9em;
70
+ padding-left: $dbx-detail-block-content-offset;
71
+ }
72
+
73
+ padding-bottom: 12px;
74
+ }
75
+
38
76
  .dbx-text-no-overflow {
39
77
  white-space: pre-wrap !important;
40
78
  overflow: visible !important;
@@ -0,0 +1,11 @@
1
+ import { Maybe } from '@dereekb/util';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Header and details offset with an icon.
5
+ */
6
+ export declare class DbxDetailBlockComponent {
7
+ icon?: Maybe<string>;
8
+ header?: Maybe<string>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxDetailBlockComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxDetailBlockComponent, "dbx-detail-block", never, { "icon": "icon"; "header": "header"; }, {}, never, ["[header]", "*"], false>;
11
+ }
@@ -0,0 +1,8 @@
1
+ import { Maybe } from '@dereekb/util';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DbxDetailBlockHeaderComponent {
4
+ icon?: Maybe<string>;
5
+ header?: Maybe<string>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxDetailBlockHeaderComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxDetailBlockHeaderComponent, "dbx-detail-block-header", never, { "icon": "icon"; "header": "header"; }, {}, never, ["*"], false>;
8
+ }
@@ -1,3 +1,5 @@
1
+ export * from './detail.block.component';
2
+ export * from './detail.block.header.component';
1
3
  export * from './form.description.component';
2
4
  export * from './hint.component';
3
5
  export * from './icon.spacer.component';
@@ -1,9 +1,10 @@
1
+ import { Maybe } from '@dereekb/util';
1
2
  import * as i0 from "@angular/core";
2
3
  /**
3
4
  * Combines a dbx-label and arbitrary content.
4
5
  */
5
6
  export declare class DbxLabelBlockComponent {
6
- header?: string;
7
+ header?: Maybe<string>;
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxLabelBlockComponent, never>;
8
9
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxLabelBlockComponent, "dbx-label-block", never, { "header": "header"; }, {}, never, ["*"], false>;
9
10
  }
@@ -1,23 +1,25 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./text.chip.directive";
3
- import * as i2 from "./note.component";
4
- import * as i3 from "./notice.component";
5
- import * as i4 from "./success.component";
6
- import * as i5 from "./warn.component";
7
- import * as i6 from "./hint.component";
8
- import * as i7 from "./label.block.component";
9
- import * as i8 from "./label.component";
10
- import * as i9 from "./linkify.component";
11
- import * as i10 from "./ok.component";
12
- import * as i11 from "./text.chips.component";
13
- import * as i12 from "./icon.spacer.component";
14
- import * as i13 from "./form.description.component";
15
- import * as i14 from "@angular/common";
16
- import * as i15 from "@angular/material/chips";
17
- import * as i16 from "@angular/material/tooltip";
18
- import * as i17 from "@angular/material/icon";
3
+ import * as i2 from "./detail.block.component";
4
+ import * as i3 from "./detail.block.header.component";
5
+ import * as i4 from "./note.component";
6
+ import * as i5 from "./notice.component";
7
+ import * as i6 from "./success.component";
8
+ import * as i7 from "./warn.component";
9
+ import * as i8 from "./hint.component";
10
+ import * as i9 from "./label.block.component";
11
+ import * as i10 from "./label.component";
12
+ import * as i11 from "./linkify.component";
13
+ import * as i12 from "./ok.component";
14
+ import * as i13 from "./text.chips.component";
15
+ import * as i14 from "./icon.spacer.component";
16
+ import * as i15 from "./form.description.component";
17
+ import * as i16 from "@angular/common";
18
+ import * as i17 from "@angular/material/chips";
19
+ import * as i18 from "@angular/material/tooltip";
20
+ import * as i19 from "@angular/material/icon";
19
21
  export declare class DbxTextModule {
20
22
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxTextModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTextModule, [typeof i1.DbxChipDirective, typeof i2.DbxNoteComponent, typeof i3.DbxNoticeComponent, typeof i4.DbxSuccessComponent, typeof i5.DbxWarnComponent, typeof i6.DbxHintComponent, typeof i7.DbxLabelBlockComponent, typeof i8.DbxLabelComponent, typeof i9.DbxLinkifyComponent, typeof i10.DbxOkComponent, typeof i11.DbxTextChipsComponent, typeof i12.DbxIconSpacerDirective, typeof i13.DbxFormDescriptionComponent], [typeof i14.CommonModule, typeof i15.MatChipsModule, typeof i16.MatTooltipModule, typeof i17.MatIconModule], [typeof i1.DbxChipDirective, typeof i2.DbxNoteComponent, typeof i3.DbxNoticeComponent, typeof i4.DbxSuccessComponent, typeof i5.DbxWarnComponent, typeof i6.DbxHintComponent, typeof i7.DbxLabelBlockComponent, typeof i8.DbxLabelComponent, typeof i9.DbxLinkifyComponent, typeof i10.DbxOkComponent, typeof i11.DbxTextChipsComponent, typeof i12.DbxIconSpacerDirective, typeof i13.DbxFormDescriptionComponent]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTextModule, [typeof i1.DbxChipDirective, typeof i2.DbxDetailBlockComponent, typeof i3.DbxDetailBlockHeaderComponent, typeof i4.DbxNoteComponent, typeof i5.DbxNoticeComponent, typeof i6.DbxSuccessComponent, typeof i7.DbxWarnComponent, typeof i8.DbxHintComponent, typeof i9.DbxLabelBlockComponent, typeof i10.DbxLabelComponent, typeof i11.DbxLinkifyComponent, typeof i12.DbxOkComponent, typeof i13.DbxTextChipsComponent, typeof i14.DbxIconSpacerDirective, typeof i15.DbxFormDescriptionComponent], [typeof i16.CommonModule, typeof i17.MatChipsModule, typeof i18.MatTooltipModule, typeof i19.MatIconModule], [typeof i1.DbxChipDirective, typeof i2.DbxDetailBlockComponent, typeof i3.DbxDetailBlockHeaderComponent, typeof i4.DbxNoteComponent, typeof i5.DbxNoticeComponent, typeof i6.DbxSuccessComponent, typeof i7.DbxWarnComponent, typeof i8.DbxHintComponent, typeof i9.DbxLabelBlockComponent, typeof i10.DbxLabelComponent, typeof i11.DbxLinkifyComponent, typeof i12.DbxOkComponent, typeof i13.DbxTextChipsComponent, typeof i14.DbxIconSpacerDirective, typeof i15.DbxFormDescriptionComponent]>;
22
24
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxTextModule>;
23
25
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "9.22.9",
3
+ "version": "9.22.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0",
7
- "@dereekb/dbx-core": "9.22.9",
8
- "@dereekb/dbx-web": "9.22.9",
7
+ "@dereekb/dbx-core": "9.22.10",
8
+ "@dereekb/dbx-web": "9.22.10",
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.9",
3
+ "version": "9.22.10",
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.9",
11
- "@dereekb/dbx-core": "9.22.9",
10
+ "@dereekb/rxjs": "9.22.10",
11
+ "@dereekb/dbx-core": "9.22.10",
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.9",
3
+ "version": "9.22.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
7
- "@dereekb/dbx-core": "9.22.9",
7
+ "@dereekb/dbx-core": "9.22.10",
8
8
  "@angular/material": "^14.2.0",
9
9
  "@angular/forms": "^14.2.0",
10
- "@dereekb/dbx-web": "9.22.9"
10
+ "@dereekb/dbx-web": "9.22.10"
11
11
  },
12
12
  "dependencies": {
13
13
  "tslib": "^2.3.0"