<commit_before>import { Component, Input, Output, EventEmitter } from '@angular/core';

@Component({
    moduleId: module.id,
    selector: 'bw-button',
    templateUrl: 'button.component.pug',
})
export class ButtonComponent {

    @Input() title: string;
    @Input() color: string;
    @Input() icon: string;
    @Input() block: boolean;
    @Input() circular: boolean;
    @Input() rounded: boolean;
    @Input() simple: boolean;

    @Input() size: string = ''; // lg, sm, xs
    @Input() disabled: boolean;

    @Output() clicked = new EventEmitter();

    constructor() { }

    get iconAndtext(): boolean {
        return this.title !== undefined && this.icon !== undefined && !this.circular;
    }
<commit_msg>added simple button<commit_after>import { Component, Input, Output, EventEmitter, OnChanges } from '@angular/core';

@Component({
    moduleId: module.id,
    selector: 'bw-button',
    templateUrl: 'button.component.pug',
})
export class ButtonComponent implements OnChanges {

    @Input() title: string;
    @Input() color: string;
    @Input() icon: string;
    @Input() block: boolean;
    @Input() circular: boolean;
    @Input() rounded: boolean;
    @Input() simple: boolean;

    @Input() size: string = ''; // lg, sm, xs
    @Input() disabled: boolean;

    @Output() clicked = new EventEmitter();

    constructor() { }

    get iconAndtext(): boolean {
        return this.title !== undefined && this.icon !== undefined && !this.circular;
    }

    ngOnChanges(changes: {[propertyName: string]: any}) {
        let simple: boolean = changes['simple'];

        if (simple) {
            this.color = 'white';
        }
    }

{'fraction_non_alphanumeric': 0.15691007845503924, 'fraction_numerical': 0.0, 'mean_word_length': 3.134663341645885, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '125187', 'n_tokens_mistral': 492, 'n_tokens_neox': 481, 'n_words': 139}