@sumaris-net/ngx-components 0.26.3 → 0.26.4
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/bundles/sumaris-net.ngx-components.umd.js +7 -9
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/shared/material/badge/badge-icon.directive.js +8 -10
- package/fesm2015/sumaris-net.ngx-components.js +7 -9
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/material/badge/badge-icon.directive.d.ts +1 -1
|
@@ -7785,15 +7785,13 @@
|
|
|
7785
7785
|
badge.style.display = 'flex';
|
|
7786
7786
|
badge.style.alignItems = 'center';
|
|
7787
7787
|
badge.style.justifyContent = 'center';
|
|
7788
|
-
if (this.
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
badge.style.background = 'transparent';
|
|
7796
|
-
}
|
|
7788
|
+
if (this.fill !== 'clear') {
|
|
7789
|
+
badge.style.background = "var(--ion-color-" + this.color + ")";
|
|
7790
|
+
badge.style.color = "var(--ion-color-" + this.color + "-contrast)";
|
|
7791
|
+
}
|
|
7792
|
+
else {
|
|
7793
|
+
badge.style.color = "var(--ion-color-" + this.color + ")";
|
|
7794
|
+
badge.style.background = 'transparent';
|
|
7797
7795
|
}
|
|
7798
7796
|
if (this.matIcon) {
|
|
7799
7797
|
badge.innerHTML = "<i class=\"material-icons\" style=\"font-size: " + fontSize + ";\">" + this.matIcon + "</i>";
|