@dereekb/dbx-web 14.0.0 → 14.1.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.
@@ -5,12 +5,7 @@
5
5
 
6
6
  // convenience
7
7
  @function quick-define-dbx-config-via-banners($top-banner: 0px, $bottom-banner: 0px) {
8
- @return (
9
- 'layout': (
10
- 'top-banner-height': $top-banner,
11
- 'bottom-banner-height': $bottom-banner
12
- )
13
- );
8
+ @return ('layout': ('top-banner-height': $top-banner, 'bottom-banner-height': $bottom-banner));
14
9
  }
15
10
 
16
11
  // theme
@@ -94,7 +94,7 @@
94
94
  */
95
95
  @mixin nested-content-height($headers: 1, $additionalOffset: 0) {
96
96
  @if $headers < 1 {
97
- @error "Headers count #{$headers} must be greater than 1.";
97
+ @error 'Headers count #{$headers} must be greater than 1.';
98
98
  }
99
99
 
100
100
  @include content-height($additionalOffset, $headers);
@@ -54,11 +54,11 @@
54
54
  '--mat-datepicker-calendar-container-shape': $value,
55
55
  '--mat-bottom-sheet-container-shape': $value,
56
56
  '--mat-tooltip-container-shape': $value,
57
- // dbx component corner tokens that track the system scale.
58
- '--dbx-content-pit-rounded-border-radius': $value,
57
+ '--dbx-content-pit-rounded-border-radius': $value // dbx component corner tokens that track the system scale.
58
+ ,
59
59
  '--dbx-prompt-box-border-radius': $value,
60
60
  '--dbx-corners-border-radius': $value,
61
- '--dbx-navbar-item-border-radius': $value // single radius; navbar keeps its top-only geometry
61
+ '--dbx-navbar-item-border-radius': $value
62
62
  );
63
63
  }
64
64
 
@@ -79,8 +79,8 @@
79
79
  '--mat-fab-container-shape': $value,
80
80
  '--mat-fab-small-container-shape': $value,
81
81
  '--mat-list-active-indicator-shape': $value,
82
- // list + nav/anchor-list rows (each list type reads its own token)
83
- '--dbx-list-item-border-radius': $value,
82
+ '--dbx-list-item-border-radius': $value // list + nav/anchor-list rows (each list type reads its own token)
83
+ ,
84
84
  '--dbx-anchor-list-item-border-radius': $value
85
85
  );
86
86
  }
@@ -175,10 +175,10 @@ $dbx-style-demo-templates: (
175
175
  'sidenav-corner-extra': -dbx-style-demo-sidenav-shape-map(var(--mat-sys-corner-extra-large)),
176
176
  // Tints surfaces toward the primary color by mixing the theme's own system tokens — stays theme-correct.
177
177
  'surface-tint': (
178
- '--mat-sys-surface': color-mix(in srgb, var(--mat-sys-primary) 8%, var(--mat-sys-surface)),
179
- '--mat-sys-surface-container': color-mix(in srgb, var(--mat-sys-primary) 12%, var(--mat-sys-surface-container)),
180
- '--mat-sys-surface-container-high': color-mix(in srgb, var(--mat-sys-primary) 16%, var(--mat-sys-surface-container-high))
181
- )
178
+ '--mat-sys-surface': color-mix(in srgb, var(--mat-sys-primary) 8%, var(--mat-sys-surface)),
179
+ '--mat-sys-surface-container': color-mix(in srgb, var(--mat-sys-primary) 12%, var(--mat-sys-surface-container)),
180
+ '--mat-sys-surface-container-high': color-mix(in srgb, var(--mat-sys-primary) 16%, var(--mat-sys-surface-container-high))
181
+ )
182
182
  );
183
183
 
184
184
  /// Opt-in mixin that emits the disposable `.dbx-style-demo-template-<key>` debug classes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "14.0.0",
3
+ "version": "14.1.0",
4
4
  "sideEffects": [
5
5
  "*.scss",
6
6
  "*.css"
@@ -13,12 +13,12 @@
13
13
  "@angular/material": "^22.1.4",
14
14
  "@angular/platform-browser": "22.1.4",
15
15
  "@cantoo/pdf-lib": "^2.6.5",
16
- "@dereekb/browser": "14.0.0",
17
- "@dereekb/date": "14.0.0",
18
- "@dereekb/dbx-core": "14.0.0",
19
- "@dereekb/rxjs": "14.0.0",
20
- "@dereekb/util": "14.0.0",
21
- "@dereekb/vitest": "14.0.0",
16
+ "@dereekb/browser": "14.1.0",
17
+ "@dereekb/date": "14.1.0",
18
+ "@dereekb/dbx-core": "14.1.0",
19
+ "@dereekb/rxjs": "14.1.0",
20
+ "@dereekb/util": "14.1.0",
21
+ "@dereekb/vitest": "14.1.0",
22
22
  "@ngbracket/ngx-layout": "^22.0.1",
23
23
  "@ngrx/component-store": "^22.0.0",
24
24
  "@ngrx/effects": "^22.0.0",