<commit_before><template>
  <div>
    <button @click="value = 0">0%</button>
    <button @click="value += 10">+10%</button>
    <button @click="value -= 10">-10%</button>
    <button @click="value = 100">100%</button>
    <label>
      <input type="checkbox" v-model="indeterminate">Indeterminate
    </label>
    Current value: {{ value }}
    Indeterminate: {{ indeterminate }}
    <progress-bar :value="value" :indeterminate="indeterminate"></progress-bar>
    <progress-bar :value="value" :indeterminate="indeterminate" :no-animation="true"></progress-bar>
    <progress-bar :value="value" :indeterminate="indeterminate" :no-stripes="true"></progress-bar>
  </div>
</template>

<script type="text/babel">
  import ProgressBar from './../components/progress-bar.vue'

  export default {
    data () {
      return {
        value: 10,
        indeterminate: false
      }
    },

    components: {
      ProgressBar
    }
  }
</script><commit_msg>Update progress-bar demo and add docs<commit_after><template>
  <div>
    <component-docs :docs="docs">

      <div>
        <button @click="value = 0">0%</button>
        <button @click="value += 10">+10%</button>
        <button @click="value -= 10">-10%</button>
        <button @click="value = 100">100%</button>
      </div>

      <div>
        <label>
          <input type="checkbox" v-model="indeterminate">Indeterminate
        </label>
      </div>

      <div>
        <label>
          <input type="checkbox" v-model="noAnimation">No animation
        </label>
      </div>

      <div>
        <label>
          <input type="checkbox" v-model="noStripes">No stripes
        </label>
      </div>

      <progress-bar
        :value="value"
        :indeterminate="indeterminate"
        :no-stripes="noStripes"
        :no-animation="noAnimation"
      ></progress-bar>

    </component-docs>
  </div>
</template>

<script type="text/babel">
  import ProgressBar from './../components/progress-bar.vue'
  import ComponentDocs from '../components/component-docs.vue'

  export default {
    data () {
      return {
        value: 10,
        indeterminate: false,
        noStripes: false,
        noAnimation: false,

        docs: {
          title: 'Progress bar',

          props: {
            value: {
              type: Number
            },
            indeterminate: {
              type: Boolean,
              default: false
            },
            noStripes: {
              type: Boolean,
              default: false
            },
            noAnimation: {
              type: Boolean,
              default: false
            }
          }
        }
      }
    },

    components: {
      ProgressBar,
      ComponentDocs
    }
  }
</script>
{'fraction_non_alphanumeric': 0.1528592375366569, 'fraction_numerical': 0.013196480938416423, 'mean_word_length': 1.9312567132116005, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '6324489', 'n_tokens_mistral': 877, 'n_tokens_neox': 812, 'n_words': 157}