@dereekb/dbx-web 13.18.0 → 13.19.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.
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/eslint",
3
- "version": "13.18.0",
3
+ "version": "13.19.0",
4
4
  "peerDependencies": {
5
- "@dereekb/util": "13.18.0",
5
+ "@dereekb/util": "13.19.0",
6
6
  "@typescript-eslint/utils": "8.59.3"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@angular/core": "21.2.11",
10
- "@dereekb/dbx-core": "13.18.0",
11
- "@dereekb/rxjs": "13.18.0",
10
+ "@dereekb/dbx-core": "13.19.0",
11
+ "@dereekb/rxjs": "13.19.0",
12
12
  "@typescript-eslint/parser": "8.59.3",
13
13
  "eslint": "10.4.0",
14
14
  "rxjs": "^7.8.2"
@@ -50,6 +50,13 @@ $header-left-reserved-space-small-screen: 120px;
50
50
  }
51
51
  }
52
52
 
53
+ // Regular section header row gets a configurable minimum height so action content
54
+ // (e.g. a dbx-button) in the [sectionHeader] slot has room and is never clipped.
55
+ // Scoped to .dbx-section so dbx-subsection keeps its smaller, title-driven height.
56
+ .dbx-section > .dbx-section-header > .dbx-section-header-content {
57
+ min-height: var(--dbx-section-header-height, 48px);
58
+ }
59
+
53
60
  .dbx-section-header-strict {
54
61
  .dbx-section-header-content {
55
62
  h1,
@@ -86,6 +93,14 @@ $header-left-reserved-space-small-screen: 120px;
86
93
  }
87
94
 
88
95
  .dbx-section-page {
96
+ // Re-point the navbar height locally to the section-page header knob. Because the header
97
+ // height (below) AND the nested content-height math both key off --dbx-content-navbar-height,
98
+ // this keeps header size and reserved content space in sync at any value. Default knob value =
99
+ // the inherited content-navbar height, so default behavior is unchanged.
100
+ // NOTE: descendant .dbx-content-navbar toolbars inside a page also adopt this height when the
101
+ // knob is overridden.
102
+ --dbx-content-navbar-height: var(--dbx-section-page-header-height);
103
+
89
104
  &.dbx-section-page-full-header {
90
105
  > .dbx-section-header > .dbx-section-header-content .dbx-section-header-content-title {
91
106
  max-width: 100%;
@@ -14,6 +14,13 @@
14
14
  #{theming.$page-navbar-height-var}: theming.get-dbx-layout-page-navbar-height($theme-config);
15
15
  #{theming.$content-navbar-height-var}: theming.get-dbx-layout-content-navbar-height($theme-config);
16
16
 
17
+ // Section-page header height knob; defaults to the content navbar height. Declared at :root so
18
+ // its value is computed in an outer scope before .dbx-section-page re-points the navbar height
19
+ // to it (a self-referential fallback would otherwise create a custom-property reference cycle).
20
+ // Overriding it resizes the page header AND its reserved content space together
21
+ // (see _section.scss .dbx-section-page).
22
+ --dbx-section-page-header-height: var(--dbx-content-navbar-height);
23
+
17
24
  #{theming.$box-max-width-var}: theming.get-dbx-layout-box-max-width($theme-config);
18
25
  #{theming.$content-max-width-var}: theming.get-dbx-layout-content-max-width($theme-config);
19
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "13.18.0",
3
+ "version": "13.19.0",
4
4
  "sideEffects": [
5
5
  "*.scss",
6
6
  "*.css"
@@ -13,12 +13,12 @@
13
13
  "@angular/material": "^21.2.9",
14
14
  "@angular/platform-browser": "21.2.11",
15
15
  "@cantoo/pdf-lib": "^2.6.5",
16
- "@dereekb/browser": "13.18.0",
17
- "@dereekb/date": "13.18.0",
18
- "@dereekb/dbx-core": "13.18.0",
19
- "@dereekb/rxjs": "13.18.0",
20
- "@dereekb/util": "13.18.0",
21
- "@dereekb/vitest": "13.18.0",
16
+ "@dereekb/browser": "13.19.0",
17
+ "@dereekb/date": "13.19.0",
18
+ "@dereekb/dbx-core": "13.19.0",
19
+ "@dereekb/rxjs": "13.19.0",
20
+ "@dereekb/util": "13.19.0",
21
+ "@dereekb/vitest": "13.19.0",
22
22
  "@ngbracket/ngx-layout": "^21.0.0",
23
23
  "@ngrx/component-store": "^21.1.0",
24
24
  "@ngrx/effects": "^21.1.0",