<commit_before><div class="split-wrapper" [ngClass]="color">

  <div class="split-content" #split>
    <tl-button cdkOverlayOrigin #trigger="cdkOverlayOrigin"
               [text]="text"
               [disabled]="disabled"
               [width]="width"
               [height]="height">
    </tl-button>
    <div [class.active]="isOpen"
         (click)="isOpen = !isOpen"
         class="split-button-actions"
         [ngStyle]="{'height': height, 'line-height': height, 'box-sizing': 'border-box'}">
      <div class="icon-arrow" [style.transform]="isOpen ? 'rotate(180deg)' : 'rotate(0)'">
        <tl-icon [lib]="'fa'" [style]="'fas'">chevron-down</tl-icon>
      </div>
      <ng-template cdkConnectedOverlay
                   (backdropClick)="isOpen = false"
                   (positionChange)="onPositionChange($event)"
                   [cdkConnectedOverlayHasBackdrop]="true"<commit_msg>refact(splitbutton): add buttonClick event to tl-button<commit_after><div class="split-wrapper" [ngClass]="color">

  <div class="split-content" #split>
    <tl-button cdkOverlayOrigin #trigger="cdkOverlayOrigin"
               [text]="text"
               [disabled]="disabled"
               (click)="buttonClick.emit()"
               [width]="width"
               [height]="height">
    </tl-button>
    <div [class.active]="isOpen"
         (click)="isOpen = !isOpen"
         class="split-button-actions"
         [ngStyle]="{'height': height, 'line-height': height, 'box-sizing': 'border-box'}">
      <div class="icon-arrow" [style.transform]="isOpen ? 'rotate(180deg)' : 'rotate(0)'">
        <tl-icon [lib]="'fa'" [style]="'fas'">chevron-down</tl-icon>
      </div>
      <ng-template cdkConnectedOverlay
                   (backdropClick)="isOpen = false"
                   (positionChange)="onPositionChange($event)"
                   [cdkConnectedOverlayHasBackdrop]="true"
{'fraction_non_alphanumeric': 0.17864693446088795, 'fraction_numerical': 0.004228329809725159, 'mean_word_length': 2.6544401544401546, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 21, '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': '5649956', 'n_tokens_mistral': 597, 'n_tokens_neox': 585, 'n_words': 85}