@elderbyte/ngx-starter 22.4.0 → 22.6.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/fesm2022/elderbyte-ngx-starter.mjs +46003 -39844
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/forms/search/filter-indicator-icon/filter-indicator-icon.component.scss +0 -0
- package/theming/abstracts/_elder-starter-theme.scss +2 -0
- package/theming/components/_elder-tripple-checkbox-theme.scss +50 -0
- package/types/elderbyte-ngx-starter.d.ts +19758 -17654
package/package.json
CHANGED
package/src/lib/components/forms/search/filter-indicator-icon/filter-indicator-icon.component.scss
ADDED
|
File without changes
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
@use '../components/elder-rail-nav-theme' as elder-rail-nav;
|
|
22
22
|
@use '../components/elder-pane-theme' as elder-pane;
|
|
23
23
|
@use '../components/elder-nav-expansion-panel-theme' as elder-nav-expansion-panel;
|
|
24
|
+
@use '../components/elder-tripple-checkbox-theme' as elder-tripple-checkbox;
|
|
24
25
|
|
|
25
26
|
@mixin starter-theme($theme) {
|
|
26
27
|
$theme: elder-set-defaults-fn.validate-and-set-defaults($theme);
|
|
@@ -53,4 +54,5 @@
|
|
|
53
54
|
@include elder-rail-nav.theme();
|
|
54
55
|
@include elder-pane.theme();
|
|
55
56
|
@include elder-nav-expansion-panel.theme();
|
|
57
|
+
@include elder-tripple-checkbox.theme($theme);
|
|
56
58
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@mixin theme($config-or-theme) {
|
|
2
|
+
mat-checkbox.elder-filter-checkbox {
|
|
3
|
+
.mdc-checkbox__native-control {
|
|
4
|
+
~ .mdc-checkbox__background {
|
|
5
|
+
border-color: var(--mat-checkbox-selected-icon-color);
|
|
6
|
+
background-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
|
|
7
|
+
padding-left: 2px;
|
|
8
|
+
padding-right: 2px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:enabled:indeterminate {
|
|
12
|
+
~ .mdc-checkbox__background {
|
|
13
|
+
--mat-checkbox-selected-checkmark-color: var(--md-sys-color-on-surface-variant);
|
|
14
|
+
border-color: var(--md-sys-color-on-surface-variant);
|
|
15
|
+
background-color: transparent;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:enabled:not(:checked):not(:indeterminate) {
|
|
20
|
+
~ .mdc-checkbox__background::after {
|
|
21
|
+
content: '×';
|
|
22
|
+
position: absolute;
|
|
23
|
+
inset: 0;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
|
|
28
|
+
font-size: 18px;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
line-height: 1;
|
|
31
|
+
color: var(--mat-checkbox-selected-checkmark-color);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.mdc-checkbox:hover
|
|
37
|
+
.mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate)
|
|
38
|
+
~ .mdc-checkbox__background {
|
|
39
|
+
border-color: var(--mat-checkbox-selected-icon-color);
|
|
40
|
+
background-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.mdc-checkbox
|
|
44
|
+
.mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):focus
|
|
45
|
+
~ .mdc-checkbox__background {
|
|
46
|
+
border-color: var(--mat-checkbox-selected-icon-color);
|
|
47
|
+
background-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|