Skip to content
Permalink
Browse files

feat(table): remove deprecated slot names, introduce new slot names (#…

  • Loading branch information...
jackmu95 authored and tmorehouse committed Aug 13, 2019
1 parent 29eb8b1 commit 249efd9a61abe129ed429fa5f50a9524589e4ed0
@@ -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 }">
@@ -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>
@@ -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>
@@ -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'}`"
@@ -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'}`"
@@ -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>
@@ -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>
@@ -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>

0 comments on commit 249efd9

Please sign in to comment.
You can’t perform that action at this time.