|
@@ -56,7 +56,7 @@ class ButtonComponent {
|
|
|
}
|
|
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
|
type: Component,
|
|
|
- args: [{ selector: 'ct-button', standalone: true, imports: [NgClass], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n class=\"rounded-md\"\n [class.bg-primary]=\"type === 'default'\"\n [class.bg-on-primary]=\"type === 'alternate'\"\n [class.bg-yellow-400]=\"type === 'warning'\"\n [class.bg-red-400]=\"type === 'error'\"\n [class.bg-lime-600]=\"type === 'success'\">\n {{ text }}\n</button>\n" }]
|
|
|
+ args: [{ selector: 'ct-button', standalone: true, imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n class=\"rounded-md\"\n [class.bg-primary]=\"type === 'default'\"\n [class.bg-on-primary]=\"type === 'alternate'\"\n [class.bg-yellow-400]=\"type === 'warning'\"\n [class.bg-red-400]=\"type === 'error'\"\n [class.bg-lime-600]=\"type === 'success'\">\n {{ text }}\n</button>\n" }]
|
|
|
}], propDecorators: { text: [{
|
|
|
type: Input,
|
|
|
args: [{ required: true }]
|