matcha-components 19.63.0 → 19.65.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.
|
@@ -843,14 +843,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
843
843
|
|
|
844
844
|
class MatchaCardComponent {
|
|
845
845
|
constructor() {
|
|
846
|
+
this._color = 'surface';
|
|
846
847
|
this.blockquote = 'none';
|
|
847
|
-
this.color = 'surface';
|
|
848
848
|
this.blockquoteColor = null;
|
|
849
849
|
this.class = '';
|
|
850
|
-
this.
|
|
851
|
-
this.
|
|
852
|
-
this.
|
|
850
|
+
this._alpha = false;
|
|
851
|
+
this._tint = false;
|
|
852
|
+
this._loading = false;
|
|
853
|
+
}
|
|
854
|
+
get color() { return this._color; }
|
|
855
|
+
set color(v) { this._color = v || 'surface'; }
|
|
856
|
+
get colorAttr() {
|
|
857
|
+
return this.color;
|
|
853
858
|
}
|
|
859
|
+
get alpha() { return this._alpha; }
|
|
860
|
+
set alpha(v) { this._alpha = v === 'false' ? false : !!v; }
|
|
861
|
+
get tint() { return this._tint; }
|
|
862
|
+
set tint(v) { this._tint = v === 'false' ? false : !!v; }
|
|
863
|
+
get loading() { return this._loading; }
|
|
864
|
+
set loading(v) { this._loading = v === 'false' ? false : !!v; }
|
|
854
865
|
get classes() {
|
|
855
866
|
let backgroundColor = '';
|
|
856
867
|
let blockquoteColor = '';
|
|
@@ -882,14 +893,17 @@ class MatchaCardComponent {
|
|
|
882
893
|
return this.blockquote === 'left' || this.blockquote === 'right';
|
|
883
894
|
}
|
|
884
895
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: MatchaCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
885
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: MatchaCardComponent, isStandalone: false, selector: "matcha-card", inputs: {
|
|
896
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: MatchaCardComponent, isStandalone: false, selector: "matcha-card", inputs: { color: "color", blockquote: "blockquote", blockquoteColor: "blockquoteColor", class: "class", alpha: "alpha", tint: "tint", loading: "loading" }, host: { properties: { "attr.color": "this.colorAttr", "class": "this.classes" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""] }); }
|
|
886
897
|
}
|
|
887
898
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: MatchaCardComponent, decorators: [{
|
|
888
899
|
type: Component,
|
|
889
900
|
args: [{ selector: 'matcha-card', standalone: false, template: "<ng-content></ng-content>\n" }]
|
|
890
|
-
}], propDecorators: {
|
|
901
|
+
}], propDecorators: { color: [{
|
|
891
902
|
type: Input
|
|
892
|
-
}],
|
|
903
|
+
}], colorAttr: [{
|
|
904
|
+
type: HostBinding,
|
|
905
|
+
args: ['attr.color']
|
|
906
|
+
}], blockquote: [{
|
|
893
907
|
type: Input
|
|
894
908
|
}], blockquoteColor: [{
|
|
895
909
|
type: Input
|