@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.
- package/eslint/index.esm.js +56 -2
- package/eslint/package.json +4 -4
- package/eslint/src/lib/require-action-error-handler.rule.d.ts +13 -1
- package/fesm2022/dereekb-dbx-web-mapbox.mjs +11 -1
- package/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web.mjs +146 -22
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/lib/style/_config.scss +1 -6
- package/lib/style/_mixin.scss +1 -1
- package/lib/style/_style-demo.scss +9 -9
- package/package.json +7 -7
package/lib/style/_config.scss
CHANGED
|
@@ -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
|
package/lib/style/_mixin.scss
CHANGED
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
*/
|
|
95
95
|
@mixin nested-content-height($headers: 1, $additionalOffset: 0) {
|
|
96
96
|
@if $headers < 1 {
|
|
97
|
-
@error
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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.
|
|
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.
|
|
17
|
-
"@dereekb/date": "14.
|
|
18
|
-
"@dereekb/dbx-core": "14.
|
|
19
|
-
"@dereekb/rxjs": "14.
|
|
20
|
-
"@dereekb/util": "14.
|
|
21
|
-
"@dereekb/vitest": "14.
|
|
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",
|