Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat(table): remove deprecated slot names, introduce new slot names (#…
  • Loading branch information
jacobmllr95 authored and tmorehouse committed Aug 13, 2019
1 parent 29eb8b1 commit 249efd9
Show file tree
Hide file tree
Showing 14 changed files with 161 additions and 337 deletions.
18 changes: 9 additions & 9 deletions docs/components/componentdoc.vue
Expand Up @@ -50,13 +50,13 @@
bordered
striped
>
<template slot="[prop]" slot-scope="{ value, item }">
<template slot="cell[prop]" slot-scope="{ value, item }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
<b-badge v-if="item.required" variant="info">Required</b-badge>
<b-badge v-else-if="item.deprecated" variant="danger">Deprecated</b-badge>
<b-badge v-else-if="item.deprecation" variant="warning">Deprecation</b-badge>
</template>
<template slot="[defaultValue]" slot-scope="{ value }">
<template slot="cell[defaultValue]" slot-scope="{ value }">
<code v-if="value" class="notranslate" translate="no">{{ value }}</code>
</template>
<template slot="row-details" slot-scope="{ item }">
Expand All @@ -82,10 +82,10 @@
bordered
striped
>
<template slot="[prop]" slot-scope="{ value }">
<template slot="cell[prop]" slot-scope="{ value }">
<code class="notranslate" translate="no">{{ kebabCase(value) }}</code>
</template>
<template slot="[event]" slot-scope="{ value }">
<template slot="cell[event]" slot-scope="{ value }">
<code class="notranslate" translate="no">{{ value }}</code>
</template>
</b-table>
Expand All @@ -105,7 +105,7 @@
bordered
striped
>
<template slot="[name]" slot-scope="{ value }">
<template slot="cell[name]" slot-scope="{ value }">
<code class="text-nowrap nostranslate" translate="no">{{ value }}</code>
</template>
</b-table>
Expand All @@ -124,10 +124,10 @@
bordered
striped
>
<template slot="[event]" slot-scope="{ value }">
<template slot="cell[event]" slot-scope="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[args]" slot-scope="{ value, item }">
<template slot="cell[args]" slot-scope="{ value, item }">
<p
v-for="arg in value"
:key="`event-${item.event}-${arg.arg ? arg.arg : 'none'}`"
Expand Down Expand Up @@ -159,10 +159,10 @@
bordered
striped
>
<template slot="[event]" slot-scope="{ value }">
<template slot="cell[event]" slot-scope="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[args]" slot-scope="{ value, item }">
<template slot="cell[args]" slot-scope="{ value, item }">
<p
v-for="arg in value"
:key="`event-${item.event}-${arg.arg ? arg.arg : 'none'}`"
Expand Down
16 changes: 8 additions & 8 deletions docs/components/importdoc.vue
Expand Up @@ -22,13 +22,13 @@
bordered
striped
>
<template slot="[component]" slot-scope="{ value }">
<template slot="cell[component]" slot-scope="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[namedExport]" slot-scope="{ value }">
<template slot="cell[namedExport]" slot-scope="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[importPath]" slot-scope="{ value }">
<template slot="cell[importPath]" slot-scope="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
</b-table>
Expand Down Expand Up @@ -57,13 +57,13 @@
bordered
striped
>
<template slot="[directive]" slot-scope="{ value }">
<template slot="cell[directive]" slot-scope="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[namedExport]" slot-scope="{ value }">
<template slot="cell[namedExport]" slot-scope="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[importPath]" slot-scope="{ value }">
<template slot="cell[importPath]" slot-scope="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
</b-table>
Expand Down Expand Up @@ -102,10 +102,10 @@
bordered
striped
>
<template slot="[namedExport]" slot-scope="{ value }">
<template slot="cell[namedExport]" slot-scope="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[importPath]" slot-scope="{ value }">
<template slot="cell[importPath]" slot-scope="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
</b-table>
Expand Down

0 comments on commit 249efd9

Please sign in to comment.