<commit_before><template>

  <span>
    <span v-if="windowSize.breakpoint > 2">
      <ui-button
        :disabled="disabled"
        :ariaLabel="name"
        :type="type"
        :color="color"
        :icon="icon"
        :has-dropdown="true"
        :class="{ appbarbutton: inAppBar }"
        ref="buttonLarge">
        {{ name }}
        <ui-menu
          :options="options"
          slot="dropdown"
          class="dropdown-menu"
          :class="{ disabledasselected: displayDisabledAsSelected }"
          @close="$refs.buttonLarge.closeDropdown()"
          @select="emitSelection"/>
      </ui-button>
    </span>
    <span v-else>
      <ui-icon-button
        :disabled="disabled"
        :ariaLabel="name"
        :type="type"
        :color="color"
        :icon="icon"
        :has-dropdown="true"<commit_msg>remove responsive behaviors from dropdown when there’s no icon<commit_after><template>

  <span>
    <span v-if="windowSize.breakpoint > 2 || !icon">
      <ui-button
        :disabled="disabled"
        :ariaLabel="name"
        :type="type"
        :color="color"
        :icon="icon"
        :has-dropdown="true"
        :class="{ appbarbutton: inAppBar }"
        ref="buttonLarge">
        {{ name }}
        <ui-menu
          :options="options"
          slot="dropdown"
          class="dropdown-menu"
          :class="{ disabledasselected: displayDisabledAsSelected }"
          @close="$refs.buttonLarge.closeDropdown()"
          @select="emitSelection"/>
      </ui-button>
    </span>
    <span v-else>
      <ui-icon-button
        :disabled="disabled"
        :ariaLabel="name"
        :type="type"
        :color="color"
        :icon="icon"
        :has-dropdown="true"
{'fraction_non_alphanumeric': 0.15384615384615385, 'fraction_numerical': 0.0011655011655011655, 'mean_word_length': 2.0282186948853616, 'pattern_counts': {'":': 0, '<': 21, '<?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': '5039878', 'n_tokens_mistral': 518, 'n_tokens_neox': 503, 'n_words': 82}