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

@Component({
  selector: 'ngx-tab',
  template: `
    <ng-content *ngIf="active"></ng-content>
  `,
  host: {
    class: 'ngx-tab'
  }
})
export class TabComponent {<commit_msg>bug(tabs): use hidden vs ngIf for animation bug<commit_after>import { Component, Input } from '@angular/core';

/**
 * TODO: Remove hidden when https://github.com/angular/angular/issues/18310 is resolved
 */
@Component({
  selector: 'ngx-tab',
  template: `
    <div [hidden]="!active">
      <ng-content></ng-content>
    </div>
  `,
  host: {
    class: 'ngx-tab'
  }
})
export class TabComponent {
{'fraction_non_alphanumeric': 0.17573872472783825, 'fraction_numerical': 0.007776049766718507, 'mean_word_length': 3.6, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, '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': '6871134', 'n_tokens_mistral': 225, 'n_tokens_neox': 219, 'n_words': 50}