@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.
- package/fesm2022/elderbyte-ngx-starter.mjs +1164 -1077
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/components/data-view/table/elder-table/elder-table.component.d.ts +2 -1
- package/lib/components/layout/pane/header/pane-actions.component.d.ts +5 -0
- package/lib/components/layout/{pane-header → pane/header}/pane-header.component.d.ts +1 -1
- package/lib/components/layout/pane/header/pane-title.component.d.ts +5 -0
- package/lib/components/layout/pane/pane-content.component.d.ts +5 -0
- package/lib/components/layout/pane/pane.component.d.ts +1 -1
- package/lib/components/layout/public_api.d.ts +4 -1
- package/package.json +1 -1
- package/src/assets/i18n/de.json +2 -1
- package/src/assets/i18n/en.json +4 -3
- package/src/lib/components/card-organizer/card-stack/elder-card-stack.component.scss +7 -11
- package/src/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.scss +20 -11
- package/src/lib/components/data-view/common/elder-data-toolbar/elder-data-toolbar.component.scss +3 -0
- package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +70 -83
- package/src/lib/components/data-view/table/elder-table/elder-table.component.scss +3 -217
- package/src/lib/components/forms/search/search-box/elder-search-box.component.scss +1 -0
- package/src/lib/components/labels/labels-input/labels-input.component.scss +0 -3
- package/src/lib/components/navigation/nav/nav-group/elder-nav-group.component.scss +20 -5
- package/src/lib/components/navigation/nav/nav-link/elder-nav-link.component.scss +33 -6
- package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.scss +1 -1
- package/src/lib/components/panels/toggle-panel/elder-toggle-panel.component.scss +3 -0
- package/src/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.scss +0 -77
- package/src/lib/components/select/multi/elder-multi-select-chip-options/elder-multi-select-chip-options.component.scss +0 -48
- package/src/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.scss +0 -60
- package/src/lib/components/select/single/elder-select/elder-select.component.scss +14 -51
- package/src/lib/components/select-chip-list/chip-list-select/elder-chip-list-select.component.scss +0 -11
- package/theming/abstracts/_elder-design-tokens.scss +86 -43
- package/theming/abstracts/_elder-scss-variables.scss +15 -20
- package/theming/abstracts/_elder-starter-theme.scss +9 -7
- package/theming/abstracts/_elder-theme-main.scss +5 -1
- package/theming/base/_elder-common-base.scss +18 -40
- package/theming/base/_elder-fixes-base.scss +69 -281
- package/theming/base/_elder-form-base.scss +14 -0
- package/theming/base/_elder-root-base.scss +40 -0
- package/theming/components/_elder-chip-theme.scss +234 -95
- package/theming/components/_elder-select-theme.scss +79 -0
- package/theming/components/_elder-table-theme.scss +209 -0
- package/theming/components/_elder-toolbar-theme.scss +79 -0
- package/theming/utilities/_elder-color-utils.scss +14 -6
- package/theming/utilities/_elder-common-utils.scss +53 -15
- package/theming/utilities/_elder-flex-layout-utils.scss +1 -0
- package/theming/utilities/_elder-layout-utils.scss +194 -194
- package/src/lib/components/navigation/nav/_elder-nav-theme.scss +0 -66
- package/src/lib/components/select/_elder-select-base.scss +0 -28
- package/theming/base/_elder-component-themes.scss +0 -22
- 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
|
-
.
|
|
60
|
+
.bg-#{$name} {
|
|
57
61
|
background-color: #{$value};
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
|
|
61
|
-
.
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
}
|