@elderbyte/ngx-starter 18.13.0-beta.0 → 18.13.0-beta.2

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 (63) hide show
  1. package/_index.scss +7 -0
  2. package/esm2022/lib/components/access-denied/elder-access-denied.component.mjs +3 -3
  3. package/esm2022/lib/components/badge/elder-badge/elder-badge.component.mjs +3 -3
  4. package/esm2022/lib/components/card-organizer/card-stack/elder-card-stack.component.mjs +3 -3
  5. package/esm2022/lib/components/cards/elder-card/elder-card.component.mjs +3 -3
  6. package/esm2022/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.mjs +3 -3
  7. package/esm2022/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.mjs +3 -3
  8. package/esm2022/lib/components/data-view/grid/elder-grid/elder-grid.component.mjs +3 -3
  9. package/esm2022/lib/components/data-view/table/elder-table/elder-table.component.mjs +3 -3
  10. package/esm2022/lib/components/dialogs/confirm-dialog/elder-confirm-dialog.component.mjs +3 -3
  11. package/esm2022/lib/components/dialogs/selection-dialog/elder-selection-dialog/elder-selection-dialog.component.mjs +3 -3
  12. package/esm2022/lib/components/files/blob-viewer/elder-blob-viewer.component.mjs +3 -3
  13. package/esm2022/lib/components/forms/search/search-box/elder-search-box.component.mjs +3 -3
  14. package/esm2022/lib/components/graph/elder-progress-bar/elder-progress-bar.component.mjs +3 -3
  15. package/esm2022/lib/components/headers/elder-header/elder-header.component.mjs +3 -3
  16. package/esm2022/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.mjs +3 -3
  17. package/esm2022/lib/components/navigation/nav/nav-group/elder-nav-group.component.mjs +3 -3
  18. package/esm2022/lib/components/navigation/nav/nav-link/elder-nav-link.component.mjs +3 -3
  19. package/esm2022/lib/components/navigation/toolbar/toolbar/elder-toolbar.component.mjs +4 -5
  20. package/esm2022/lib/components/page/exit-guard/page-exit-lock-indicator/page-exit-lock-indicator.component.mjs +3 -3
  21. package/esm2022/lib/components/page/exit-guard/page-exit-lock-overview/page-exit-lock-overview.component.mjs +3 -3
  22. package/esm2022/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.mjs +3 -3
  23. package/esm2022/lib/components/shell/header/elder-app-header/elder-app-header.component.mjs +2 -2
  24. package/esm2022/lib/components/shell/shell/elder-shell.component.mjs +6 -6
  25. package/esm2022/lib/components/toasts/standard-toast/standard-toast.component.mjs +3 -3
  26. package/fesm2022/elderbyte-ngx-starter.mjs +52 -52
  27. package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
  28. package/package.json +1 -1
  29. package/src/lib/components/badge/elder-badge/elder-badge.component.scss +2 -2
  30. package/src/lib/components/button-group/elder-button-group/elder-button-group.component.scss +3 -3
  31. package/src/lib/components/card-organizer/card-stack/elder-card-stack.component.scss +9 -25
  32. package/src/lib/components/cards/elder-card/elder-card.component.scss +7 -8
  33. package/src/lib/components/chips/_elder-chip-theme.scss +3 -3
  34. package/src/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.scss +1 -1
  35. package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +3 -6
  36. package/src/lib/components/data-view/table/elder-table/elder-table.component.scss +8 -10
  37. package/src/lib/components/errors/exception-detail/elder-exception-detail.component.scss +2 -2
  38. package/src/lib/components/expand-toggle-button/elder-expand-toggle-button.component.scss +1 -1
  39. package/src/lib/components/files/blob-viewer/elder-blob-viewer.component.scss +4 -10
  40. package/src/lib/components/graph/elder-progress-bar/elder-progress-bar.component.scss +0 -1
  41. package/src/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.scss +2 -0
  42. package/src/lib/components/navigation/nav/_elder-nav-theme.scss +8 -4
  43. package/src/lib/components/navigation/nav/nav-group/elder-nav-group.component.scss +1 -1
  44. package/src/lib/components/navigation/nav/nav-link/elder-nav-link.component.scss +4 -4
  45. package/src/lib/components/page/exit-guard/page-exit-lock-indicator/page-exit-lock-indicator.component.scss +2 -2
  46. package/src/lib/components/panels/card-panel/elder-card-panel.component.scss +2 -2
  47. package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.scss +3 -3
  48. package/src/lib/components/panels/flat/_elder-panel-theme.scss +8 -41
  49. package/src/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.scss +2 -3
  50. package/src/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.scss +1 -2
  51. package/src/lib/components/shell/header/elder-app-header/elder-app-header.component.scss +2 -2
  52. package/src/lib/components/shell/shell/elder-shell.component.scss +8 -0
  53. package/src/lib/components/toasts/standard-toast/standard-toast.component.scss +31 -2
  54. package/theming/_elder-badge-sizing.scss +21 -0
  55. package/theming/_elder-color-helpers.scss +74 -0
  56. package/theming/_elder-common.scss +15 -3
  57. package/theming/_elder-design-token-overwrites.scss +33 -0
  58. package/theming/_elder-flex-layout.scss +0 -11
  59. package/theming/_elder-layout-system.scss +225 -0
  60. package/theming/_elder-m3-theme.scss +208 -4
  61. package/theming/_elder-scrollbar-theme.scss +1 -1
  62. package/theming/_elder-style-fixes.scss +214 -20
  63. package/theming/_mixins.scss +0 -1
@@ -118,31 +118,225 @@
118
118
  }
119
119
 
120
120
  @mixin _mat3-fixes($theme) {
121
- --mat-sidenav-container-width: auto; // is set to around 300px by default in MAT 3 (MAT 2 was auto by default)
122
- --mat-badge-small-size-text-size: 9px; // this is the mat2 setting, mat3 somehow sets this to 0, which hides the font, unclear why.
123
- --mdc-dialog-container-shape: 16px; // make border-radius of dialog container smaller (default is 28px)
124
- --mat-dialog-container-max-width: 80vw; // 80vw is mat 2 default, mat 3 default is very narrow: 560px;
125
- --mat-toolbar-title-text-tracking: 0; // mat toolbar typography
126
- --mat-toolbar-title-text-weight: 500; // mat toolbar typography
127
-
128
- .mat-toolbar {
129
- &.mat-primary {
130
- --mat-toolbar-container-text-color: var(--md-sys-color-on-primary);
131
- --mat-toolbar-container-background-color: var(--md-sys-color-primary);
132
- .mat-mdc-icon-button {
133
- color: var(--md-sys-color-on-primary);
121
+ .mat-toolbar .mat-mdc-icon-button {
122
+ color: inherit;
123
+ }
124
+
125
+ // reduce border radius from overlay
126
+ //--mdc-dialog-container-shape: 4px;
127
+
128
+ // remove weird box shadow of card in overlay (Problem: Cards shouldn't be in overlay)
129
+ .mat-mdc-dialog-container .mat-mdc-card {
130
+ box-shadow: none;
131
+ }
132
+
133
+ // .mat-mdc-slide-toggle {
134
+ // margin-bottom: 4px;
135
+ // }
136
+
137
+ // fix elder badge borders
138
+ elder-badge {
139
+ .mat-mdc-standard-chip .mat-mdc-chip-action::before {
140
+ //border-color: var(--md-sys-color-outline);
141
+ border: none;
142
+ }
143
+ }
144
+
145
+ // set bg darker
146
+ // ::ng-deep .mat-app-background.elder-light-theme,
147
+ // ::ng-deep .mat-app-background.elder-dark-theme {}
148
+ //background-color: red !important;
149
+ --mat-app-background-color: var(--md-sys-color-surface-container-highest) !important;
150
+
151
+ .mat-app-background {
152
+ display: block;
153
+ }
154
+
155
+ .mat-mdc-tab-group {
156
+ background-color: var(--md-sys-color-surface-container);
157
+ }
158
+
159
+ .legacy-layout-card {
160
+ background-color: var(--mdc-elevated-card-container-color);
161
+ border: var(--elder-border-light);
162
+ border-radius: var(--elder-border-radius-sm);
163
+ // pane style
164
+ border: none !important;
165
+ border-radius: var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));
166
+ overflow: hidden;
167
+ }
168
+
169
+ .elder-card-header {
170
+ background-color: var(--md-sys-color-surface-container);
171
+ }
172
+
173
+ .elder-card-title {
174
+ padding-bottom: 0 !important;
175
+ margin-bottom: 6px !important;
176
+ }
177
+
178
+ .elder-card-header {
179
+ margin-bottom: 12px !important;
180
+ }
181
+
182
+ // remove extra background from drawer
183
+ .mat-drawer-container {
184
+ background-color: transparent !important;
185
+ }
186
+
187
+ // .mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
188
+ // background-color: var(--md-sys-color-inverse-surface);
189
+ // }
190
+
191
+ // app header bg color
192
+ &.elder-light-theme,
193
+ &.elder-dark-theme {
194
+ elder-app-header .mat-panel.mat-primary {
195
+ background-color: var(--md-sys-color-primary) !important;
196
+ color: var(--md-sys-color-on-primary) !important;
197
+ }
198
+
199
+ .mat-toolbar {
200
+ &.mat-primary {
201
+ --mat-toolbar-container-text-color: var(--md-sys-color-on-primary);
202
+ --mat-toolbar-container-background-color: var(--md-sys-color-primary);
203
+ .mat-mdc-icon-button {
204
+ color: var(--md-sys-color-on-primary);
205
+ }
206
+ }
207
+ &.mat-accent {
208
+ --mat-toolbar-container-text-color: var(--md-sys-color-on-tertiary);
209
+ --mat-toolbar-container-background-color: var(--md-sys-color-tertiary);
210
+ .mat-mdc-icon-button {
211
+ color: var(--md-sys-color-on-tertiary);
212
+ }
134
213
  }
135
214
  }
136
- &.mat-accent {
137
- --mat-toolbar-container-text-color: var(--md-sys-color-on-tertiary);
138
- --mat-toolbar-container-background-color: var(--md-sys-color-tertiary);
139
- .mat-mdc-icon-button {
140
- color: var(--md-sys-color-on-tertiary);
215
+
216
+ .mat-toolbar.mat-primary,
217
+ .mat-toolbar.mat-accent {
218
+ // color all toolbars primary
219
+ background-color: var(--md-sys-color-primary) !important;
220
+ * {
221
+ color: white !important;
141
222
  }
142
223
  }
143
224
  }
144
225
 
145
- .mat-toolbar .mat-mdc-icon-button {
146
- color: inherit;
226
+ &.elder-dark-theme {
227
+ .mat-panel {
228
+ background-color: var(--elder-dark-gray) !important;
229
+ }
230
+
231
+ .mat-toolbar.mat-primary,
232
+ .mat-toolbar.mat-accent {
233
+ background-color: var(--elder-dark-gray) !important;
234
+ * {
235
+ color: white !important;
236
+ }
237
+ .elder-toolbar-main-nav-button .mat-icon {
238
+ color: var(--md-sys-color-primary) !important;
239
+ }
240
+ }
241
+
242
+ elder-app-header .mat-panel {
243
+ color: var(--md-sys-color-on-surface) !important;
244
+ }
245
+ }
246
+
247
+ /**************************************************************************
248
+ * Start cloudfiles import 1
249
+ *************************************************************************/
250
+
251
+ // mat tab group shouldnt have a background color
252
+ .mat-mdc-tab-header {
253
+ background-color: var(--md-sys-color-surface-container-low);
254
+ }
255
+
256
+ .mat-mdc-tab-group {
257
+ background-color: transparent !important;
258
+ }
259
+
260
+ elder-data-toolbar {
261
+ display: block;
262
+ //background-color: var(--md-sys-color-surface-container);
263
+ }
264
+
265
+ elder-search-box .elder-search-box-field {
266
+ background-color: var(--md-sys-color-surface-container-lowest);
267
+ border: none !important;
268
+ margin-top: 12px !important;
269
+ margin-bottom: 12px !important;
270
+ border-radius: var(
271
+ --mdc-outlined-card-container-shape,
272
+ var(--mat-app-corner-medium)
273
+ ) !important;
274
+
275
+ &.mat-focused {
276
+ background-color: var(--md-sys-color-surface-container-lowest);
277
+ }
278
+ }
279
+
280
+ elder-search-box {
281
+ .mdc-notched-outline .mat-mdc-notch-piece {
282
+ border: none !important;
283
+ }
147
284
  }
285
+
286
+ &.elder-light-theme,
287
+ &.elder-dark-theme {
288
+ elder-table {
289
+ --mat-table-background-color: var(--md-sys-color-surface-container);
290
+
291
+ .mat-mdc-row {
292
+ background-color: var(--md-sys-color-surface-container-lowest);
293
+ }
294
+
295
+ .mat-mdc-header-row {
296
+ background: var(--md-sys-color-surface-container-low) !important;
297
+ }
298
+ }
299
+
300
+ elder-table .legacy-layout-card {
301
+ background-color: var(--md-sys-color-surface-container-low) !important;
302
+ }
303
+ }
304
+
305
+ /**************************************************************************
306
+ * End cloudfiles import 1
307
+ *************************************************************************/
308
+
309
+ // Button colors
310
+ .mat-accent.mat-mdc-button-base {
311
+ --md-sys-color-tertiary: var(--md-sys-color-secondary);
312
+ --md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
313
+ --md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
314
+ --md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
315
+ }
316
+
317
+ // slide toggle colors
318
+ .mat-accent.mat-mdc-slide-toggle {
319
+ --md-sys-color-tertiary: var(--md-sys-color-secondary);
320
+ --md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
321
+ --md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
322
+ --md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
323
+ }
324
+
325
+ .mat-accent.mat-mdc-standard-chip {
326
+ --md-sys-color-tertiary: var(--md-sys-color-secondary);
327
+ --md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
328
+ --md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
329
+ --md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
330
+ }
331
+
332
+ // // switch toggle (deactivaded)
333
+ // // --mdc-switch-track-shape:
334
+ // --mat-switch-with-icon-handle-size: 24px;
335
+ // --mdc-switch-track-height: 12px;
336
+ // //--mat-switch-unselected-with-icon-handle-horizontal-margin: 0 4px;
337
+ // --mat-switch-selected-with-icon-handle-horizontal-margin: 0 14px;
338
+ // --mdc-switch-track-width: 42px;
339
+ // --mat-switch-track-outline-width: 0;
340
+ // --mdc-switch-unselected-track-color: var(--md-sys-color-secondary);
341
+ // //--mdc-switch-unselected-handle-color: var(--md-sys-color-secondary-container);
148
342
  }
@@ -17,7 +17,6 @@
17
17
  display: inline-flex;
18
18
  justify-content: center;
19
19
  align-items: center;
20
- box-sizing: border-box;
21
20
  }
22
21
 
23
22
  .mat-mdc-form-field-icon-prefix > .mat-mdc-icon-button,