@dereekb/dbx-web 13.4.2 → 13.5.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.
Files changed (58) hide show
  1. package/_index.scss +6 -1
  2. package/fesm2022/dereekb-dbx-web-calendar.mjs +10 -11
  3. package/fesm2022/dereekb-dbx-web-calendar.mjs.map +1 -1
  4. package/fesm2022/dereekb-dbx-web-mapbox.mjs +76 -76
  5. package/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
  6. package/fesm2022/dereekb-dbx-web-table.mjs +100 -100
  7. package/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
  8. package/fesm2022/dereekb-dbx-web.mjs +1701 -1585
  9. package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
  10. package/lib/action/_action.scss +0 -1
  11. package/lib/action/snackbar/_snackbar.scss +0 -19
  12. package/lib/button/_button.scss +0 -18
  13. package/lib/button/progress/bar.button.component.scss +6 -0
  14. package/lib/error/_error.scss +0 -18
  15. package/lib/extension/_extension.scss +0 -31
  16. package/lib/extension/calendar/_calendar.scss +25 -74
  17. package/lib/extension/calendar/style/month/calendar-month-view.scss +1 -1
  18. package/lib/extension/help/_help.scss +0 -20
  19. package/lib/extension/table/_table.scss +0 -19
  20. package/lib/extension/zip/_zip.scss +5 -20
  21. package/lib/interaction/_interaction.scss +0 -8
  22. package/lib/interaction/dialog/_dialog.scss +4 -19
  23. package/lib/interaction/filter/_filter.scss +0 -19
  24. package/lib/interaction/iframe/_iframe.scss +0 -19
  25. package/lib/interaction/popover/_popover.scss +7 -17
  26. package/lib/interaction/popup/_popup.scss +2 -26
  27. package/lib/interaction/prompt/_prompt.scss +0 -19
  28. package/lib/interaction/style/_style.scss +4 -35
  29. package/lib/interaction/upload/_upload.scss +4 -45
  30. package/lib/layout/_layout.scss +0 -14
  31. package/lib/layout/avatar/_avatar.scss +2 -29
  32. package/lib/layout/bar/_bar.scss +10 -43
  33. package/lib/layout/block/_block.scss +0 -19
  34. package/lib/layout/card/_card.scss +0 -19
  35. package/lib/layout/column/_column.scss +2 -17
  36. package/lib/layout/content/_content.scss +7 -55
  37. package/lib/layout/flag/_flag.scss +0 -19
  38. package/lib/layout/flex/_flex.scss +0 -19
  39. package/lib/layout/item/_item.scss +0 -19
  40. package/lib/layout/list/_list.scss +3 -26
  41. package/lib/layout/section/_section.scss +7 -17
  42. package/lib/layout/step/_step.scss +0 -19
  43. package/lib/layout/style/_style.scss +1 -18
  44. package/lib/layout/text/_text.scss +8 -46
  45. package/lib/loading/_loading.scss +0 -19
  46. package/lib/router/_router.scss +0 -4
  47. package/lib/router/layout/anchor/_anchor.scss +0 -19
  48. package/lib/router/layout/anchorlist/_anchorlist.scss +4 -32
  49. package/lib/router/layout/navbar/_navbar.scss +0 -18
  50. package/lib/router/layout/sidenav/_sidenav.scss +22 -102
  51. package/lib/style/_all-typography.scss +0 -16
  52. package/lib/style/_m2-visual-compat.scss +120 -0
  53. package/lib/style/_root-variables.scss +37 -47
  54. package/lib/style/_theming.scss +1 -202
  55. package/lib/style/_variables.scss +35 -2
  56. package/package.json +13 -13
  57. package/types/dereekb-dbx-web-table.d.ts +6 -6
  58. package/types/dereekb-dbx-web.d.ts +109 -21
@@ -1,6 +1,3 @@
1
- @use 'sass:map';
2
- @use 'sass:list';
3
- @use 'sass:color';
4
1
  @use './theming';
5
2
 
6
3
  // Includes all theming config
@@ -32,7 +29,7 @@
32
29
  #{theming.$dbx-page-height-additional-offset-var}: 0px;
33
30
  #{theming.$dbx-content-height-additional-offset-var}: 0px;
34
31
 
35
- #{theming.$dbx-content-pit-rounded-border-radius-var}: 12px;
32
+ #{theming.$dbx-content-pit-rounded-border-radius-var}: var(--mat-sys-corner-medium);
36
33
  #{theming.$dbx-content-pit-scrollable-max-height-var}: 140px;
37
34
 
38
35
  #{theming.$dbx-avatar-size-var}: theming.get-dbx-avatar-size($theme-config);
@@ -85,49 +82,30 @@
85
82
  }
86
83
 
87
84
  /**
88
- Only used by themes
85
+ Sets --dbx-* color variables by aliasing --mat-sys-* system variables
86
+ emitted by the Material theme. Custom colors (notice, success, ok) still
87
+ come from the dbx theme config since they have no Material equivalent.
89
88
  */
90
89
  @mixin root-theme-color-variables($root-selector, $theme-config) {
91
90
  #{$root-selector} {
92
- $color-config: theming.m2-get-color-config($theme-config);
91
+ // Primary/secondary/tertiary/accent/warn - alias from mat system variables
92
+ #{theming.$dbx-primary-color-var}: var(--mat-sys-primary);
93
+ #{theming.$dbx-primary-color-contrast-var}: var(--mat-sys-on-primary);
93
94
 
94
- $primary: map.get($color-config, 'primary');
95
- $accent: map.get($color-config, 'accent');
96
- $warn: map.get($color-config, 'warn');
97
- $background: map.get($color-config, 'background');
98
- $foreground: map.get($color-config, 'foreground');
95
+ #{theming.$dbx-secondary-color-var}: var(--mat-sys-secondary);
96
+ #{theming.$dbx-secondary-color-contrast-var}: var(--mat-sys-on-secondary);
99
97
 
100
- $primary-color: theming.m2-get-color-from-palette($primary, 500);
101
- $primary-color-contrast: theming.m2-get-color-from-palette($primary, '500-contrast');
98
+ #{theming.$dbx-tertiary-color-var}: var(--mat-sys-tertiary);
99
+ #{theming.$dbx-tertiary-color-contrast-var}: var(--mat-sys-on-tertiary);
102
100
 
103
- $accent-color: theming.m2-get-color-from-palette($accent, 500);
104
- $accent-color-contrast: theming.m2-get-color-from-palette($accent, '500-contrast');
101
+ // accent is an alias for tertiary
102
+ #{theming.$dbx-accent-color-var}: var(--mat-sys-tertiary);
103
+ #{theming.$dbx-accent-color-contrast-var}: var(--mat-sys-on-tertiary);
105
104
 
106
- $warn-color: theming.m2-get-color-from-palette($warn, 500);
107
- $warn-color-contrast: theming.m2-get-color-from-palette($warn, '500-contrast');
108
-
109
- $grey-color: theming.m2-get-color-from-palette($foreground, 'text');
110
- $grey-color-contrast: theming.m2-get-color-from-palette($background, 'disabled-button');
111
-
112
- $disabled-color: theming.m2-get-color-from-palette($foreground, 'disabled-text');
113
- $disabled-color-contrast: theming.m2-get-color-from-palette($background, 'disabled-button');
114
-
115
- $background-color: theming.m2-get-color-from-palette($foreground, 'text');
116
- $background-color-contrast: theming.m2-get-color-from-palette($background, 'background');
117
-
118
- $notice-color: theming.get-dbx-notice-color($theme-config);
119
- $success-color: theming.get-dbx-success-color($theme-config);
120
- $ok-color: theming.get-dbx-ok-color($theme-config);
121
-
122
- #{theming.$dbx-primary-color-var}: $primary-color;
123
- #{theming.$dbx-primary-color-contrast-var}: $primary-color-contrast;
124
-
125
- #{theming.$dbx-accent-color-var}: $accent-color;
126
- #{theming.$dbx-accent-color-contrast-var}: $accent-color-contrast;
127
-
128
- #{theming.$dbx-warn-color-var}: $warn-color;
129
- #{theming.$dbx-warn-color-contrast-var}: $warn-color-contrast;
105
+ #{theming.$dbx-warn-color-var}: var(--mat-sys-error);
106
+ #{theming.$dbx-warn-color-contrast-var}: var(--mat-sys-on-error);
130
107
 
108
+ // Custom dbx colors - still from theme config (no --mat-sys-* equivalent)
131
109
  #{theming.$dbx-notice-color-var}: theming.get-dbx-notice-color($theme-config);
132
110
  #{theming.$dbx-notice-color-contrast-var}: var(--dbx-warn-color-contrast);
133
111
 
@@ -137,13 +115,25 @@
137
115
  #{theming.$dbx-ok-color-var}: theming.get-dbx-ok-color($theme-config);
138
116
  #{theming.$dbx-ok-color-contrast-var}: var(--dbx-warn-color-contrast);
139
117
 
140
- #{theming.$dbx-grey-color-var}: $grey-color;
141
- #{theming.$dbx-grey-color-contrast-var}: $grey-color-contrast;
142
-
143
- #{theming.$dbx-disabled-color-var}: $disabled-color;
144
- #{theming.$dbx-disabled-color-contrast-var}: $disabled-color-contrast;
145
-
146
- #{theming.$dbx-default-color-var}: $background-color;
147
- #{theming.$dbx-default-color-contrast-var}: $background-color-contrast;
118
+ // Grey - foreground text / background
119
+ #{theming.$dbx-grey-color-var}: var(--mat-sys-outline);
120
+ #{theming.$dbx-grey-color-contrast-var}: var(--mat-sys-surface);
121
+
122
+ // Disabled - disabled text / background
123
+ #{theming.$dbx-disabled-color-var}: var(--mat-sys-outline-variant);
124
+ #{theming.$dbx-disabled-color-contrast-var}: var(--mat-sys-outline);
125
+
126
+ // Default - foreground text / surface background
127
+ #{theming.$dbx-default-color-var}: var(--mat-sys-on-surface);
128
+ #{theming.$dbx-default-color-contrast-var}: var(--mat-sys-surface-container);
129
+
130
+ // Surface and outline variables
131
+ #{theming.$dbx-surface-color-var}: var(--mat-sys-surface);
132
+ #{theming.$dbx-surface-container-color-var}: var(--mat-sys-surface-container);
133
+ #{theming.$dbx-on-surface-color-var}: var(--mat-sys-on-surface);
134
+ #{theming.$dbx-on-surface-variant-color-var}: var(--mat-sys-on-surface-variant);
135
+ #{theming.$dbx-outline-color-var}: var(--mat-sys-outline);
136
+ #{theming.$dbx-outline-variant-color-var}: var(--mat-sys-outline-variant);
137
+ #{theming.$dbx-error-color-var}: var(--mat-sys-error);
148
138
  }
149
139
  }
@@ -1,206 +1,5 @@
1
- @use 'sass:map';
2
- @use 'sass:list';
3
- @use 'node_modules/@angular/material/core/theming/theming';
4
-
5
- // m2- was added as a prefix to Material2 themes
6
- @forward '@angular/material' show m2-define-light-theme, m2-define-dark-theme, m2-define-palette, m2-get-contrast-color-from-palette, m2-get-color-from-palette, m2-get-color-config, m2-get-typography-config, m2-get-density-config, elevation;
7
-
8
- @forward 'node_modules/@angular/material/core/theming/theming' show private-is-theme-object;
9
-
10
- // prefix with m2- to mirror @angular/material/core/m2 exporting
11
- @forward 'node_modules/@angular/material/core/m2/typography-utils' as m2-*;
1
+ @forward '@angular/material' show elevation;
12
2
 
13
3
  @forward './config';
14
4
  @forward './variables';
15
5
  @forward './mixin';
16
-
17
- // NOTE: This was removed in Angular Material 21. We moved it here for continued usage.
18
- // Removed here:
19
- // https://github.com/angular/components/commit/ca83d31065c8b7cef0f8f0b69321d59839f4ad74
20
-
21
- // These variable are not intended to be overridden externally. They use `!default` to
22
- // avoid being reset every time this file is imported.
23
- $_emitted-color: () !default;
24
- $_emitted-typography: () !default;
25
- $_emitted-density: () !default;
26
- $_emitted-base: () !default;
27
-
28
- //
29
- // Private APIs
30
- //
31
-
32
- $private-internal-name: _mat-theming-internals-do-not-access;
33
-
34
- // Checks if configurations that have been declared in the given theme have been generated
35
- // before. If so, warnings will be reported. This should notify developers in case duplicate
36
- // styles are accidentally generated due to wrong usage of the all-theme mixins.
37
- //
38
- // Additionally, this mixin controls the default value for the density configuration. By
39
- // default, density styles are generated at scale zero. If the same density styles would be
40
- // generated a second time though, the default value will change to avoid duplicate styles.
41
- //
42
- // The mixin keeps track of all configurations in a list that is scoped to the specified
43
- // id. This is necessary because a given theme can be passed to multiple disjoint theme mixins
44
- // (e.g. `all-component-themes` and `all-legacy-component-themes`) without causing any
45
- // style duplication.
46
- @mixin private-check-duplicate-theme-styles($theme-or-color-config, $id) {
47
- // TODO(mmalerba): use get-theme-version for this check when its moved out of experimental.
48
- @if map.get($theme-or-color-config, $private-internal-name, theme-version) == 1 {
49
- @include _check-duplicate-theme-styles-v1($theme-or-color-config, $id) {
50
- // Optionally, consumers of this mixin can wrap contents inside so that nested
51
- // duplicate style checks do not report another warning. e.g. if developers include
52
- // the `all-component-themes` mixin twice, only the top-level duplicate styles check
53
- // should report a warning. Not all individual components should report a warning too.
54
- $orig-mat-theme-ignore-duplication-warnings: $theme-ignore-duplication-warnings;
55
- $theme-ignore-duplication-warnings: true !global;
56
- @content;
57
- $theme-ignore-duplication-warnings: $orig-mat-theme-ignore-duplication-warnings !global;
58
- }
59
- } @else {
60
- @include _check-duplicate-theme-styles-v0($theme-or-color-config, $id) {
61
- // Optionally, consumers of this mixin can wrap contents inside so that nested
62
- // duplicate style checks do not report another warning. e.g. if developers include
63
- // the `all-component-themes` mixin twice, only the top-level duplicate styles check
64
- // should report a warning. Not all individual components should report a warning too.
65
- $orig-mat-theme-ignore-duplication-warnings: $theme-ignore-duplication-warnings;
66
- $theme-ignore-duplication-warnings: true !global;
67
- @content;
68
- $theme-ignore-duplication-warnings: $orig-mat-theme-ignore-duplication-warnings !global;
69
- }
70
- }
71
- }
72
-
73
- // Checks for duplicate styles in a `theme-version: 1` style theme.
74
- @mixin _check-duplicate-theme-styles-v1($theme-or-color-config, $id) {
75
- $color-settings: _strip-empty-settings(
76
- (
77
- theme-type: map.get($theme-or-color-config, $private-internal-name, theme-type),
78
- color-tokens: map.get($theme-or-color-config, $private-internal-name, color-tokens)
79
- )
80
- );
81
- $typography-settings: _strip-empty-settings(
82
- (
83
- typography-tokens: map.get($theme-or-color-config, $private-internal-name, typography-tokens)
84
- )
85
- );
86
- $density-settings: _strip-empty-settings(
87
- (
88
- density-scale: map.get($theme-or-color-config, $private-internal-name, density-scale),
89
- density-tokens: map.get($theme-or-color-config, $private-internal-name, density-tokens)
90
- )
91
- );
92
- $base-settings: _strip-empty-settings(
93
- (
94
- base-tokens: map.get($theme-or-color-config, $private-internal-name, base-tokens)
95
- )
96
- );
97
- $previous-color-settings: map.get($_emitted-color, $id) or ();
98
- $previous-typography-settings: map.get($_emitted-typography, $id) or ();
99
- $previous-density-settings: map.get($_emitted-density, $id) or ();
100
- $previous-base-settings: map.get($_emitted-base, $id) or ();
101
-
102
- // Check if the color configuration has been generated before.
103
- @if $color-settings != null {
104
- @if list.index($previous-color-settings, $color-settings) != null and not $theme-ignore-duplication-warnings {
105
- @warn 'The same color styles are generated multiple times. ' + $_duplicate-warning;
106
- }
107
- $previous-color-settings: list.append($previous-color-settings, $color-settings);
108
- }
109
-
110
- // Check if the typography configuration has been generated before.
111
- @if $typography-settings != null {
112
- @if list.index($previous-typography-settings, $typography-settings) != null and not $theme-ignore-duplication-warnings {
113
- @warn 'The same typography styles are generated multiple times. ' + $_duplicate-warning;
114
- }
115
- $previous-typography-settings: list.append($previous-typography-settings, $typography-settings);
116
- }
117
-
118
- // Check if the density configuration has been generated before.
119
- @if $density-settings != null {
120
- @if list.index($previous-density-settings, $density-settings) != null and not $theme-ignore-duplication-warnings {
121
- @warn 'The same density styles are generated multiple times. ' + $_duplicate-warning;
122
- }
123
- $previous-density-settings: list.append($previous-density-settings, $density-settings);
124
- }
125
-
126
- // Check if the base configuration has been generated before.
127
- @if $base-settings != null {
128
- @if list.index($previous-base-settings, $base-settings) != null and not $theme-ignore-duplication-warnings {
129
- @warn 'The same base theme styles are generated multiple times. ' + $_duplicate-warning;
130
- }
131
- $previous-base-settings: list.append($previous-base-settings, $base-settings);
132
- }
133
-
134
- $_emitted-color: map.set($_emitted-color, $id, $previous-color-settings) !global;
135
- $_emitted-density: map.set($_emitted-density, $id, $previous-density-settings) !global;
136
- $_emitted-typography: map.set($_emitted-typography, $id, $previous-typography-settings) !global;
137
- $_emitted-base: map.set($_emitted-base, $id, $previous-base-settings) !global;
138
-
139
- @content;
140
- }
141
-
142
- // Checks for duplicate styles in a `theme-version: 0` style theme.
143
- @mixin _check-duplicate-theme-styles-v0($theme-or-color-config, $id) {
144
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
145
- $color-config: map.get($theme, $private-internal-name, m2-config, color) or theming.private-get-color-config($theme);
146
- $density-config: map.get($theme, $private-internal-name, m2-config, density) or theming.private-get-density-config($theme);
147
- $typography-config: map.get($theme, $private-internal-name, m2-config, typography) or theming.private-get-typography-config($theme);
148
- // Lists of previous `color`, `density` and `typography` configurations.
149
- $previous-color: map.get($_emitted-color, $id) or ();
150
- $previous-typography: map.get($_emitted-typography, $id) or ();
151
- $previous-density: map.get($_emitted-density, $id) or ();
152
- // Whether duplicate legacy density styles would be generated.
153
- $duplicate-legacy-density: false;
154
-
155
- // Check if the color configuration has been generated before.
156
- @if $color-config != null {
157
- @if list.index($previous-color, $color-config) != null and not $theme-ignore-duplication-warnings {
158
- @warn 'The same color styles are generated multiple times. ' + $_duplicate-warning;
159
- }
160
- $previous-color: list.append($previous-color, $color-config);
161
- }
162
-
163
- // Check if the typography configuration has been generated before.
164
- @if $typography-config != null {
165
- @if list.index($previous-typography, $typography-config) != null and not $theme-ignore-duplication-warnings {
166
- @warn 'The same typography styles are generated multiple times. ' + $_duplicate-warning;
167
- }
168
- $previous-typography: list.append($previous-typography, $typography-config);
169
- }
170
-
171
- // Check if the density configuration has been generated before.
172
- @if $density-config != null {
173
- @if list.index($previous-density, $density-config) != null {
174
- // Only report a warning if density styles would be duplicated for non-legacy theme
175
- // definitions. For legacy themes, we have compatibility logic that avoids duplication
176
- // of default density styles. We don't want to report a warning in those cases.
177
- @if private-is-legacy-constructed-theme($theme) {
178
- $duplicate-legacy-density: true;
179
- } @else if not $theme-ignore-duplication-warnings {
180
- @warn 'The same density styles are generated multiple times. ' + $_duplicate-warning;
181
- }
182
- }
183
- $previous-density: list.append($previous-density, $density-config);
184
- }
185
-
186
- $_emitted-color: map.merge(
187
- $_emitted-color,
188
- (
189
- $id: $previous-color
190
- )
191
- ) !global;
192
- $_emitted-density: map.merge(
193
- $_emitted-density,
194
- (
195
- $id: $previous-density
196
- )
197
- ) !global;
198
- $_emitted-typography: map.merge(
199
- $_emitted-typography,
200
- (
201
- $id: $previous-typography
202
- )
203
- ) !global;
204
-
205
- @content;
206
- }
@@ -25,6 +25,8 @@ $dbx-color-var: --dbx-color-current;
25
25
  $dbx-bg-color-var: --dbx-bg-color-current;
26
26
 
27
27
  $dbx-primary-color-var: --dbx-primary-color;
28
+ $dbx-secondary-color-var: --dbx-secondary-color;
29
+ $dbx-tertiary-color-var: --dbx-tertiary-color;
28
30
  $dbx-accent-color-var: --dbx-accent-color;
29
31
  $dbx-warn-color-var: --dbx-warn-color;
30
32
  $dbx-notice-color-var: --dbx-notice-color;
@@ -35,6 +37,8 @@ $dbx-disabled-color-var: --dbx-disabled-color;
35
37
  $dbx-default-color-var: --dbx-default-color;
36
38
 
37
39
  $dbx-primary-color-contrast-var: --dbx-primary-color-contrast;
40
+ $dbx-secondary-color-contrast-var: --dbx-secondary-color-contrast;
41
+ $dbx-tertiary-color-contrast-var: --dbx-tertiary-color-contrast;
38
42
  $dbx-accent-color-contrast-var: --dbx-accent-color-contrast;
39
43
  $dbx-warn-color-contrast-var: --dbx-warn-color-contrast;
40
44
  $dbx-notice-color-contrast-var: --dbx-notice-color-contrast;
@@ -44,6 +48,15 @@ $dbx-grey-color-contrast-var: --dbx-grey-color-contrast;
44
48
  $dbx-disabled-color-contrast-var: --dbx-disabled-color-contrast;
45
49
  $dbx-default-color-contrast-var: --dbx-default-color-contrast;
46
50
 
51
+ // Surface & outline variables (aliased from --mat-sys-* system variables)
52
+ $dbx-surface-color-var: --dbx-surface-color;
53
+ $dbx-surface-container-color-var: --dbx-surface-container-color;
54
+ $dbx-on-surface-color-var: --dbx-on-surface-color;
55
+ $dbx-on-surface-variant-color-var: --dbx-on-surface-variant-color;
56
+ $dbx-outline-color-var: --dbx-outline-color;
57
+ $dbx-outline-variant-color-var: --dbx-outline-variant-color;
58
+ $dbx-error-color-var: --dbx-error-color;
59
+
47
60
  $dbx-app-height-additional-offset-var: --dbx-app-height-additional-offset;
48
61
  $dbx-app-height-base-var: --dbx-app-height-base;
49
62
  $dbx-app-height-var: --dbx-app-height;
@@ -115,6 +128,8 @@ $dbx-color: var($dbx-color-var);
115
128
  $dbx-bg-color: var($dbx-bg-color-var);
116
129
 
117
130
  $dbx-primary-color: var($dbx-primary-color-var);
131
+ $dbx-secondary-color: var($dbx-secondary-color-var);
132
+ $dbx-tertiary-color: var($dbx-tertiary-color-var);
118
133
  $dbx-accent-color: var($dbx-accent-color-var);
119
134
  $dbx-warn-color: var($dbx-warn-color-var);
120
135
  $dbx-notice-color: var($dbx-notice-color-var);
@@ -125,6 +140,8 @@ $dbx-disabled-color: var($dbx-disabled-color-var);
125
140
  $dbx-default-color: var($dbx-default-color-var);
126
141
 
127
142
  $dbx-primary-color-contrast: var($dbx-primary-color-contrast-var);
143
+ $dbx-secondary-color-contrast: var($dbx-secondary-color-contrast-var);
144
+ $dbx-tertiary-color-contrast: var($dbx-tertiary-color-contrast-var);
128
145
  $dbx-accent-color-contrast: var($dbx-accent-color-contrast-var);
129
146
  $dbx-warn-color-contrast: var($dbx-warn-color-contrast-var);
130
147
  $dbx-notice-color-contrast: var($dbx-notice-color-contrast-var);
@@ -134,6 +151,14 @@ $dbx-grey-color-contrast: var($dbx-grey-color-contrast-var);
134
151
  $dbx-disabled-color-contrast: var($dbx-disabled-color-contrast-var);
135
152
  $dbx-default-color-contrast: var($dbx-default-color-contrast-var);
136
153
 
154
+ $dbx-surface-color: var($dbx-surface-color-var);
155
+ $dbx-surface-container-color: var($dbx-surface-container-color-var);
156
+ $dbx-on-surface-color: var($dbx-on-surface-color-var);
157
+ $dbx-on-surface-variant-color: var($dbx-on-surface-variant-color-var);
158
+ $dbx-outline-color: var($dbx-outline-color-var);
159
+ $dbx-outline-variant-color: var($dbx-outline-variant-color-var);
160
+ $dbx-error-color: var($dbx-error-color-var);
161
+
137
162
  $dbx-content-pit-rounded-border-radius-var: --dbx-content-pit-rounded-border-radius;
138
163
  $dbx-content-pit-rounded-border-radius: var($dbx-content-pit-rounded-border-radius-var);
139
164
 
@@ -149,6 +174,14 @@ $dbx-theme-colors-main: (
149
174
  'color': $dbx-primary-color,
150
175
  'contrast': $dbx-primary-color-contrast
151
176
  ),
177
+ 'secondary': (
178
+ 'color': $dbx-secondary-color,
179
+ 'contrast': $dbx-secondary-color-contrast
180
+ ),
181
+ 'tertiary': (
182
+ 'color': $dbx-tertiary-color,
183
+ 'contrast': $dbx-tertiary-color-contrast
184
+ ),
152
185
  'accent': (
153
186
  'color': $dbx-accent-color,
154
187
  'contrast': $dbx-accent-color-contrast
@@ -173,8 +206,8 @@ $dbx-theme-extra-colors-main: (
173
206
  'contrast': $dbx-ok-color-contrast
174
207
  ),
175
208
  'grey': (
176
- 'color': $dbx-grey-color-contrast,
177
- 'contrast': $dbx-grey-color
209
+ 'color': $dbx-grey-color,
210
+ 'contrast': $dbx-grey-color-contrast
178
211
  )
179
212
  );
180
213
 
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "13.4.2",
3
+ "version": "13.5.0",
4
4
  "peerDependencies": {
5
- "@angular/cdk": "^21.0.0",
6
- "@angular/common": "^21.0.0",
7
- "@angular/core": "^21.0.0",
8
- "@angular/forms": "^21.0.0",
9
- "@angular/material": "^21.0.0",
10
- "@angular/platform-browser": "^21.0.0",
11
- "@dereekb/browser": "13.4.2",
12
- "@dereekb/date": "13.4.2",
13
- "@dereekb/dbx-core": "13.4.2",
14
- "@dereekb/rxjs": "13.4.2",
15
- "@dereekb/util": "13.4.2",
5
+ "@angular/cdk": "21.2.3",
6
+ "@angular/common": "21.2.3",
7
+ "@angular/core": "21.2.3",
8
+ "@angular/forms": "21.2.3",
9
+ "@angular/material": "21.2.3",
10
+ "@angular/platform-browser": "21.2.3",
11
+ "@dereekb/browser": "13.5.0",
12
+ "@dereekb/date": "13.5.0",
13
+ "@dereekb/dbx-core": "13.5.0",
14
+ "@dereekb/rxjs": "13.5.0",
15
+ "@dereekb/util": "13.5.0",
16
16
  "@ngbracket/ngx-layout": "^21.0.0",
17
17
  "@ngrx/component-store": "^21.0.0",
18
18
  "@ngrx/effects": "^21.0.0",
@@ -21,7 +21,7 @@
21
21
  "@uirouter/angular": "21.0.0",
22
22
  "@uirouter/core": "^6.1.2",
23
23
  "@zip.js/zip.js": "^2.8.11",
24
- "angular-calendar": "^0.32.0",
24
+ "angular-calendar": "^0.32.1",
25
25
  "change-case-all": "^2.1.0",
26
26
  "date-fns": "^4.0.0",
27
27
  "linkify-string": "^4.3.0",
@@ -421,7 +421,7 @@ declare function isDbxTableViewItemElement<T, G>(element: DbxTableViewElement<T,
421
421
  declare class DbxTableViewComponent<I, C, T, G = unknown> {
422
422
  readonly tableStore: DbxTableStore<I, C, T, G>;
423
423
  readonly table: Signal<MatTable<DbxTableViewElement<T, G>>>;
424
- readonly DEFAULT_TRACK_BY_FUNCTION: TrackByFunction<unknown>;
424
+ readonly DEFAULT_TRACK_BY_FUNCTION: TrackByFunction<any>;
425
425
  readonly scrollDistance: i0.InputSignal<number>;
426
426
  readonly throttleScroll: i0.InputSignal<number>;
427
427
  readonly itemsColumnName = "_items";
@@ -435,7 +435,7 @@ declare class DbxTableViewComponent<I, C, T, G = unknown> {
435
435
  readonly displayedColumns$: Observable<string[]>;
436
436
  readonly displayedColumnsSignal: Signal<string[]>;
437
437
  readonly trackByFunction$: Observable<TrackByFunction<T>>;
438
- readonly inputTrackByFunctionSignal: Signal<TrackByFunction<unknown> | TrackByFunction<T>>;
438
+ readonly inputTrackByFunctionSignal: Signal<TrackByFunction<any> | TrackByFunction<T>>;
439
439
  readonly trackElementByFunctionSignal: Signal<TrackByFunction<DbxTableViewElement<T, G>>>;
440
440
  readonly context: _dereekb_rxjs.MutableLoadingStateContext<unknown, LoadingState<_dereekb_dbx_web_table.DbxTableContextData<I, C, T>>, _dereekb_rxjs.LoadingContextEvent & LoadingState<_dereekb_dbx_web_table.DbxTableContextData<I, C, T>>>;
441
441
  readonly dataLoadingContext: _dereekb_rxjs.MutableLoadingStateContext<unknown, LoadingState<DbxTableViewElement<T, G>[]>, _dereekb_rxjs.LoadingContextEvent & LoadingState<DbxTableViewElement<T, G>[]>>;
@@ -597,7 +597,7 @@ interface DbxTableReaderDelegate<C, T, O> {
597
597
  */
598
598
  trackItem: DbxTableReaderItemTrackByFunction<T>;
599
599
  }
600
- interface DbxTableReaderConfig<C, T, O, G = unknown> {
600
+ interface DbxTableReaderConfig<C, T, O, G = any> {
601
601
  /**
602
602
  * Delegate used for retrieving the data for a specific column and item/row.
603
603
  */
@@ -605,9 +605,9 @@ interface DbxTableReaderConfig<C, T, O, G = unknown> {
605
605
  /**
606
606
  * The table store used for retrieving the items.
607
607
  */
608
- readonly tableStore: DbxTableStore<unknown, C, T, G>;
608
+ readonly tableStore: DbxTableStore<any, C, T, G>;
609
609
  }
610
- interface DbxTableReader<C, T, O, G = unknown> extends DbxTableReaderConfig<C, T, O, G> {
610
+ interface DbxTableReader<C, T, O, G = any> extends DbxTableReaderConfig<C, T, O, G> {
611
611
  /**
612
612
  * Retrieves all cell data pairs for a specific column.
613
613
  */
@@ -635,7 +635,7 @@ interface DbxTableReader<C, T, O, G = unknown> extends DbxTableReaderConfig<C, T
635
635
  * @param config The reader configuration containing the delegate and table store
636
636
  * @returns A {@link DbxTableReader} instance with observable accessors for cell data
637
637
  */
638
- declare function dbxTableReader<C, T, O, G = unknown>(config: DbxTableReaderConfig<C, T, O, G>): DbxTableReader<C, T, O, G>;
638
+ declare function dbxTableReader<C, T, O, G = any>(config: DbxTableReaderConfig<C, T, O, G>): DbxTableReader<C, T, O, G>;
639
639
 
640
640
  export { AbstractDbxTableColumnDirective, AbstractDbxTableGroupDirective, AbstractDbxTableItemDirective, DBX_TABLE_ACTIONS_COLUMN_NAME, DBX_TABLE_COLUMN_SIZE_PARENT_ELEMENT_REF_TOKEN, DBX_TABLE_ITEMS_COLUMN_NAME, DEFAULT_DBX_TABLE_DATE_RANGE_DAY_BUTTON_FORMAT, DEFAULT_DBX_TABLE_DATE_RANGE_DAY_DISTIANCE_INPUT_CELL_COMPONENT_CONFIG, DEFAULT_DBX_TABLE_READER_COLUMN_TRACK_BY, DbxColumnSizeColumnDirective, DbxTableActionCellComponent, DbxTableColumnFooterComponent, DbxTableColumnHeaderComponent, DbxTableColumnSizeDirective, DbxTableDateHeaderComponent, DbxTableDateModule, DbxTableDateRangeDayDistanceInputCellInputComponent, DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy, DbxTableDirective, DbxTableGroupFooterComponent, DbxTableGroupHeaderComponent, DbxTableInputCellComponent, DbxTableItemActionComponent, DbxTableItemCellComponent, DbxTableItemHeaderComponent, DbxTableModule, DbxTableStore, DbxTableSummaryEndCellComponent, DbxTableSummaryStartCellComponent, DbxTableViewComponent, NO_GROUPS_ID, dbxTableDateHeaderInjectionFactory, dbxTableDateRangeDayDistanceInputCellInput, dbxTableReader, defaultDbxTableItemGroup, isDbxTableViewGroupElement, isDbxTableViewItemElement };
641
641
  export type { DbxColumnSizeColumnValue, DbxTableColumn, DbxTableContextData, DbxTableContextDataDelegate, DbxTableDateRangeDayDistanceInputCellInputComponentConfig, DbxTableGroupByFunction, DbxTableGroupId, DbxTableItemGroup, DbxTableReader, DbxTableReaderCellDataPair, DbxTableReaderCellPair, DbxTableReaderColumnKey, DbxTableReaderColumnTrackByFunction, DbxTableReaderConfig, DbxTableReaderDelegate, DbxTableReaderItemKey, DbxTableReaderItemTrackByFunction, DbxTableStoreState, DbxTableViewDelegate, DbxTableViewElement, DbxTableViewGroupElement, DbxTableViewItemElement, DefaultDbxTableItemGroup };