<template>
  <!--  class="vis-document-listing" -->
  <base-dashboard-component>
    <template #header>
      Dataset Filters
    </template>

    <template #content>
      <div class="columns is-multiline">
        <Item v-for="vd in documents" :key="vd.id" v-bind="vd" class="is-narrow column is-2" />
        <Item type="new" class="column is-2" @create-filter="$emit('create-filter')" />
      </div>
    </template>
  </base-dashboard-component>
</template>

<script>
import Item from './Item/index.vue'

export default {
  components: { Item },
  props: {
    filters: {
      type: Array,
      default: () => []
    }
  }
}
</script>

<style lang="sass">
.recent-box
  visibility: hidden
  background-color: $light-gray

.recent-work
  margin-left: 0.8rem
  margin-top: 0.2rem
  color: #6F76FF //#363636
  text-transform: uppercase
  letter-spacing: .05rem
  font-size: 0.7rem
</style>
