@elderbyte/ngx-starter 19.1.0-beta.9 → 19.1.1

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 (48) hide show
  1. package/fesm2022/elderbyte-ngx-starter.mjs +1164 -1077
  2. package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
  3. package/lib/components/data-view/table/elder-table/elder-table.component.d.ts +2 -1
  4. package/lib/components/layout/pane/header/pane-actions.component.d.ts +5 -0
  5. package/lib/components/layout/{pane-header → pane/header}/pane-header.component.d.ts +1 -1
  6. package/lib/components/layout/pane/header/pane-title.component.d.ts +5 -0
  7. package/lib/components/layout/pane/pane-content.component.d.ts +5 -0
  8. package/lib/components/layout/pane/pane.component.d.ts +1 -1
  9. package/lib/components/layout/public_api.d.ts +4 -1
  10. package/package.json +1 -1
  11. package/src/assets/i18n/de.json +2 -1
  12. package/src/assets/i18n/en.json +4 -3
  13. package/src/lib/components/card-organizer/card-stack/elder-card-stack.component.scss +7 -11
  14. package/src/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.scss +20 -11
  15. package/src/lib/components/data-view/common/elder-data-toolbar/elder-data-toolbar.component.scss +3 -0
  16. package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +70 -83
  17. package/src/lib/components/data-view/table/elder-table/elder-table.component.scss +3 -217
  18. package/src/lib/components/forms/search/search-box/elder-search-box.component.scss +1 -0
  19. package/src/lib/components/labels/labels-input/labels-input.component.scss +0 -3
  20. package/src/lib/components/navigation/nav/nav-group/elder-nav-group.component.scss +20 -5
  21. package/src/lib/components/navigation/nav/nav-link/elder-nav-link.component.scss +33 -6
  22. package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.scss +1 -1
  23. package/src/lib/components/panels/toggle-panel/elder-toggle-panel.component.scss +3 -0
  24. package/src/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.scss +0 -77
  25. package/src/lib/components/select/multi/elder-multi-select-chip-options/elder-multi-select-chip-options.component.scss +0 -48
  26. package/src/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.scss +0 -60
  27. package/src/lib/components/select/single/elder-select/elder-select.component.scss +14 -51
  28. package/src/lib/components/select-chip-list/chip-list-select/elder-chip-list-select.component.scss +0 -11
  29. package/theming/abstracts/_elder-design-tokens.scss +86 -43
  30. package/theming/abstracts/_elder-scss-variables.scss +15 -20
  31. package/theming/abstracts/_elder-starter-theme.scss +9 -7
  32. package/theming/abstracts/_elder-theme-main.scss +5 -1
  33. package/theming/base/_elder-common-base.scss +18 -40
  34. package/theming/base/_elder-fixes-base.scss +69 -281
  35. package/theming/base/_elder-form-base.scss +14 -0
  36. package/theming/base/_elder-root-base.scss +40 -0
  37. package/theming/components/_elder-chip-theme.scss +234 -95
  38. package/theming/components/_elder-select-theme.scss +79 -0
  39. package/theming/components/_elder-table-theme.scss +209 -0
  40. package/theming/components/_elder-toolbar-theme.scss +79 -0
  41. package/theming/utilities/_elder-color-utils.scss +14 -6
  42. package/theming/utilities/_elder-common-utils.scss +53 -15
  43. package/theming/utilities/_elder-flex-layout-utils.scss +1 -0
  44. package/theming/utilities/_elder-layout-utils.scss +194 -194
  45. package/src/lib/components/navigation/nav/_elder-nav-theme.scss +0 -66
  46. package/src/lib/components/select/_elder-select-base.scss +0 -28
  47. package/theming/base/_elder-component-themes.scss +0 -22
  48. package/theming/base/_elder-m2-legacy-base.scss +0 -37
@@ -0,0 +1,79 @@
1
+ @mixin theme($config-or-theme) {
2
+ &.elder-light-theme,
3
+ &.elder-dark-theme {
4
+ .mat-toolbar {
5
+ &.mat-primary {
6
+ --mat-toolbar-container-text-color: var(--md-sys-color-on-primary);
7
+ --mat-toolbar-container-background-color: var(--md-sys-color-primary);
8
+ .mat-mdc-icon-button {
9
+ color: var(--md-sys-color-on-primary);
10
+ }
11
+ }
12
+ &.mat-accent {
13
+ --mat-toolbar-container-text-color: var(--md-sys-color-on-tertiary);
14
+ --mat-toolbar-container-background-color: var(--md-sys-color-tertiary);
15
+ .mat-mdc-icon-button {
16
+ color: var(--md-sys-color-on-tertiary);
17
+ }
18
+ }
19
+ }
20
+
21
+ .mat-toolbar.elder-toolbar-main-nav-button-container {
22
+ &.mat-primary,
23
+ &.mat-accent {
24
+ background-color: var(--elder-toolbar-main-nav-button-container-bg-color);
25
+
26
+ .mat-mdc-icon-button {
27
+ color: var(--elder-toolbar-main-nav-button-color);
28
+ }
29
+ }
30
+ }
31
+ }
32
+
33
+ &.elder-light-theme {
34
+ .mat-toolbar.mat-primary .mat-mdc-input-element::placeholder {
35
+ color: var(--md-sys-color-inverse-on-surface) !important; // fix placeholder color
36
+ }
37
+ }
38
+
39
+ &.elder-dark-theme {
40
+ .mat-toolbar {
41
+ * {
42
+ color: var(--md-sys-color-on-surface) !important;
43
+ }
44
+ .mat-mdc-button-disabled,
45
+ .mat-mdc-button-disabled * {
46
+ color: var(--md-sys-color-outline) !important;
47
+ }
48
+ .elder-toolbar-main-nav-button .mat-icon {
49
+ color: var(--md-sys-color-primary) !important;
50
+ }
51
+ }
52
+ .mat-toolbar {
53
+ background-color: var(--elder-dark-gray) !important;
54
+ }
55
+ .mat-toolbar.mat-primary {
56
+ background-color: var(--md-sys-color-secondary-container) !important;
57
+ }
58
+ .mat-toolbar.mat-accent {
59
+ background-color: var(--elder-color-highlight-variant) !important;
60
+ }
61
+
62
+ elder-app-header .elder-panel {
63
+ color: var(--md-sys-color-on-surface) !important;
64
+ }
65
+
66
+ // .mat-toolbar,
67
+ // .mat-toolbar.mat-primary,
68
+ // .mat-toolbar.mat-accent {
69
+ // background-color: var(--md-sys-color-secondary-container) !important;
70
+ // }
71
+ .elder-main-toolbar {
72
+ .mat-toolbar,
73
+ .mat-toolbar.mat-primary,
74
+ .mat-toolbar.mat-accent {
75
+ background-color: var(--elder-dark-gray) !important;
76
+ }
77
+ }
78
+ }
79
+ }
@@ -52,24 +52,32 @@
52
52
  );
53
53
 
54
54
  // background colors
55
+ .elder-pane-bg-color {
56
+ background-color: var(--elder-pane-bg-color);
57
+ }
58
+
55
59
  @each $name, $value in $color-variables {
56
- .elder-bg-#{$name} {
60
+ .bg-#{$name} {
57
61
  background-color: #{$value};
58
62
  }
59
63
  }
60
64
 
61
- .elder-bg-transparent {
65
+ .bg-transparent {
62
66
  background-color: transparent;
63
67
  }
64
68
 
69
+ .bg-app-background {
70
+ background-color: var(--mat-app-background-color);
71
+ }
72
+
73
+ .bg-pane-background {
74
+ background-color: var(--elder-pane-bg-color);
75
+ }
76
+
65
77
  // text colors
66
78
  @each $name, $value in $color-variables {
67
79
  .elder-text-#{$name} {
68
80
  color: #{$value};
69
81
  }
70
82
  }
71
-
72
- .elder-pane-bg-color {
73
- background-color: var(--elder-pane-bg-color);
74
- }
75
83
  }
@@ -1,17 +1,55 @@
1
1
  @mixin elder-common-utils() {
2
- .border-none {
3
- border: none;
4
- }
5
- .display-none {
6
- display: none;
7
- }
8
- .text-center {
9
- text-align: center;
10
- }
11
- .overflow-hidden {
12
- overflow: hidden;
13
- }
14
- .overflow-auto {
15
- overflow: auto;
16
- }
2
+ .border-none {
3
+ border: none;
4
+ }
5
+ .border-radius-0 {
6
+ border-radius: 0;
7
+ }
8
+ .display-none {
9
+ display: none;
10
+ }
11
+ .text-center {
12
+ text-align: center;
13
+ }
14
+ .overflow-hidden {
15
+ overflow: hidden;
16
+ }
17
+ .overflow-auto {
18
+ overflow: auto;
19
+ }
20
+ .full-width {
21
+ width: 100%; // legacy, keep for now
22
+ }
23
+
24
+ .scrollable {
25
+ overflow: auto;
26
+ -webkit-overflow-scrolling: touch;
27
+ }
28
+
29
+ .vertical-scrollable {
30
+ overflow-y: auto;
31
+ overflow-x: hidden;
32
+ -webkit-overflow-scrolling: touch;
33
+ }
34
+
35
+ .horizontal-scrollable {
36
+ overflow-y: hidden;
37
+ overflow-x: auto;
38
+ -webkit-overflow-scrolling: touch;
39
+ }
40
+
41
+ /** https://bugzilla.mozilla.org/show_bug.cgi?id=1043520 **/
42
+ .scroll-fix {
43
+ min-width: 0;
44
+ min-height: 0;
45
+ }
46
+
47
+ .noselect {
48
+ -webkit-touch-callout: none; /* iOS Safari */
49
+ user-select: none;
50
+ }
51
+
52
+ .outlined {
53
+ border: 1px solid var(--md-sys-color-outline-variant);
54
+ }
17
55
  }
@@ -213,6 +213,7 @@ $media: (
213
213
  flex: none;
214
214
  }
215
215
 
216
+ .elder-basic-pane-layout,
216
217
  .layout-row {
217
218
  & > .flex-100 {
218
219
  @include flex-initial-100;