Skip to content

Commit

Permalink
chore: release v2.18.0 (#5925)
Browse files Browse the repository at this point in the history
* chore(deps): update devdependency vue-jest to ^3.0.7 (#5770)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(b-modal): solve body padding not being removed (#5771)

* update dom.js

* update

* update modal-manager.js

* chore(deps): update devdependency @nuxt/content to ^1.9.0 (#5773)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency rollup to ^2.27.0 (#5779)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(b-table): properly handle empty included/excluded filter fields (closes #5775) (#5780)

* fix(b-table): properly handle empty included/excluded filter fileds

* Update table-filtering.spec.js

* chore: lock `postcss` and `autoprefixer` for now (closes #5774) (#5782)

* chore: lock `postcss` and `autoprefixer` for now

* Update renovate.json

* chore(deps): update devdependency lint-staged to ^10.4.0 (#5783)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: code refactoring to separate constants from utils and better code sharing (#5772)

* Initial improvements

* Separate inspect from other utils

* feat: code refactoring to reparte constants from utils and better code sharing

* Update modal.js

* Update form-group.spec.js

* Update .bundlewatch.config.json

* Update form-group.spec.js

* chore: bump version to v2.17.1 (#5786)

* chore(deps): update devdependency postcss to ^7.0.34 (#5788)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency rollup to ^2.27.1 (#5790)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(b-tooltip, b-popover): fix `title` not being reset on hide (#5793)

* fix bug

* add test

* update tooltip.spec.js

* Update bv-tooltip.js

* Update bv-tooltip.js

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* fix(b-nav-item-dropdown): `boundary` handling in `<b-navbar>` (closes #5789) (#5794)

* fix(b-nav-item-dropdown): `boundary` handling in `<b-navbar>`

* Update nav-item-dropdown.spec.js

* docs(form-tags): fix unmatched quote in wrapper example (#5796)

* chore(deps): update devdependency terser to ^5.3.2 (#5800)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(docs): fix typo in `b-form-rating` docs (#5801)

* chore: update keywords

* chore: move `standard-version` configuration to `.versionrc` and skip commit and tag creation

* fix(b-skeleton): add missing component exports (#5806)

* Fix description (#5807)

* chore: bump version to v2.17.2 (#5805)

* chore: bump version to vv2.17.2

* Update CHANGELOG.md

* chore(deps): update all non-major dependencies (#5816)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency codesandbox to ^2.2.1 (#5824)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency codemirror to ^5.58.1 (#5826)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency postcss-cli to v8 (#5821)

* chore(deps): update devdependency postcss-cli to v8

* Update to `postcss` v8

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): update all non-major dependencies (#5830)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency eslint-config-prettier to ^6.12.0 (#5831)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update all non-major dependencies (#5833)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* docs(form-timepicker): fix typos in locale attribute (#5834)

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): update all non-major dependencies (#5835)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency terser to ^5.3.3 (#5838)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency postcss to ^8.1.1 (#5843)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency eslint-plugin-vue to v7 (#5844)

* chore(deps): update devdependency eslint-plugin-vue to v7

* chore: refactro code to conform new rules of `eslint-plugin-vue` v7

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* fix(b-carousel): fix glitching when switching slides fast (closes #5810) (#5845)

* fix glitchingg

* Update carousel.js

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* Update README.md (#5846)

Fix typo

* chore(deps): update devdependency terser to ^5.3.4 (#5852)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency eslint-plugin-vue to ^7.0.1 (#5853)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update all non-major dependencies to ^26.5.0 (#5854)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency eslint-plugin-jest to ^24.1.0 (#5856)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update all non-major dependencies to ^26.5.2 (#5857)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency @nuxtjs/pwa to ^3.1.0 (#5858)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(b-sekelton): animation overflow issue for Safari (#5863)

* chore(docs): add example for `<b-toast>` with custom close button (#5864)

* chore(docs): simplify `<b-form-group>` validation message example (#5862)

* chore(deps): update devdependency @nuxtjs/pwa to ^3.1.2 (#5865)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): update devdependency vue-router to ^3.4.6 (#5866)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency rollup to ^2.29.0 (#5871)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(b-card): properly support header/footer with body image overlay (#5872)

* chore(deps): update devdependency postcss-cli to ^8.1.0 (#5874)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency sass-loader to ^10.0.3 (#5878)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update all non-major dependencies (#5880)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency jest to ^26.5.3 (#5884)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency terser to ^5.3.5 (#5886)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* docs(b-navbar): specify support of sidebar + array (#5885)

* specify support of sidebar + array

* update package.json

* Update navbar-toggle.js

* Update README.md

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): update devdependency @nuxt/content to ^1.10.0 (#5887)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(b-link): `href` handling inconsistencies to `<router-link>` (closes #5820) (#5876)

* fix(b-link): `href` handling inconsistencies to `<router-link>`

* Update regex.js

* Update link.js

* Update link.js

* fix(v-tooltip, v-popover): render data-* attributes on root components (closes #5836) (#5882)

* fix(v-tooltip, v-popover): render data-* attributes on root components

* Delete package-lock.json

* Remove TBD's

* Attribute inheritance improvents

* Update popover.spec.js

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* Update README.md (#5889)

* chore(deps): update devdependency @nuxtjs/pwa to ^3.2.0 (#5890)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency @nuxtjs/pwa to ^3.2.1 (#5891)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(docs): fix datepicker locale typo (#5892)

* chore: ignore `package-lock.json`

* chore(docs): use new slot syntax everywhere (#5895)

* chore(deps): update all non-major dependencies (#5896)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* feat: update `core-js` to v3 (#5894)

* chore(deps): update dependency @nuxt/opencollective to ^0.3.2 (#5897)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* fix closing span tag (#5898)

* chore: update dependencies (#5899)

* chore(deps): update all non-major dependencies to ^7.12.0 (#5902)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: move global Vue.js entry to surce root (#5904)

* chore(deps): update all non-major dependencies (#5905)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update all non-major dependencies to ^7.12.1 (#5906)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Allow dependabot to check GitHub actions daily (#5907)

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): bump actions/setup-node from v1 to v2.1.2 (#5909)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from v1 to v2.1.2.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v1...c6fd00c)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(b-calendar): add `no-key-nav` property (closes #5861) (#5883)

* feat(b-calendar): add tabIndex property

* feat(b-calendar): change tabIndex property to noKeyNav

* feat(b-calendar): add noKeyNav prop description

* Update calendar.js

* Update calendar.spec.js

* Update calendar.js

* Update calendar.spec.js

* Update calendar.spec.js

* Update calendar.js

* Update calendar.js

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* fix(b-calendar): month formatting for ceratin dates (#5911)

* chore(deps): update devdependency @babel/standalone to ^7.12.2 (#5910)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): update devdependency vue-router to ^3.4.7 (#5912)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update all non-major dependencies (#5914)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update all non-major dependencies (#5917)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency eslint-plugin-vue to ^7.1.0 (#5921)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency postcss to ^8.1.2 (#5922)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(docs): correct Bootstrap SCSS imports (#5923)

* chore: bump version to v2.18.0 (#5924)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Hiws <hiws@live.dk>
Co-authored-by: JonathanGuberman <jonathan@upnotnorth.net>
Co-authored-by: JonathanGuberman <jg@tineye.com>
Co-authored-by: Milan Curcic <caomaco@gmail.com>
Co-authored-by: Wouter Kroes <wouterkroes@users.noreply.github.com>
Co-authored-by: Салоев Сади <saloev.saadi@yandex.ru>
Co-authored-by: Sauli Anto <sauli.anto@gmail.com>
Co-authored-by: 82amp <46736702+82amp@users.noreply.github.com>
Co-authored-by: John Losito <lositojohnj@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Túlio Gaulberto da Silva <marcot.gualberto@gmail.com>
  • Loading branch information
14 people committed Oct 19, 2020
1 parent 2f00167 commit 7d3d06e
Show file tree
Hide file tree
Showing 197 changed files with 2,921 additions and 1,864 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Expand Up @@ -24,6 +24,7 @@ module.exports = {
],
'object-shorthand': ['error', 'properties'],
'spaced-comment': 'off', // needed to ignore `/*#__PURE__*/` comments
'vue/custom-event-name-casing': 'off',
'vue/html-self-closing': [
'error',
{
Expand All @@ -35,9 +36,8 @@ module.exports = {
}
],
'vue/max-attributes-per-line': ['error', { singleline: 4 }],
'vue/no-template-shadow': 'off',
'vue/no-use-v-if-with-v-for': 'off',
'vue/no-v-html': 'off',
'vue/one-component-per-file': 'off',
'vue/require-default-prop': 'off',
'vue/require-prop-types': 'off',
'vue/singleline-html-element-content-newline': 'off'
Expand Down
6 changes: 6 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
12 changes: 0 additions & 12 deletions .github/renovate.json
Expand Up @@ -2,26 +2,14 @@
"extends": ["@nuxtjs"],
"labels": ["Type: Dependencies"],
"packageRules": [
{
"packageNames": ["autoprefixer"],
"allowedVersions": "<10.0.0"
},
{
"packageNames": ["bootstrap"],
"allowedVersions": "<5.0.0"
},
{
"packageNames": ["core-js"],
"allowedVersions": "<3.0.0"
},
{
"packageNames": ["highlight.js"],
"allowedVersions": "<10.0.0"
},
{
"packageNames": ["postcss"],
"allowedVersions": "<8.0.0"
},
{
"packageNames": ["prettier"],
"allowedVersions": "<=1.14.3"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v2.1.2
with:
node-version: ${{ matrix.node }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v2.1.2
with:
node-version: ${{ matrix.node }}

Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v2.1.2
with:
node-version: ${{ matrix.node }}

Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v2.1.2
with:
node-version: ${{ matrix.node }}

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -13,5 +13,6 @@ node_modules/
*.swp
.DS_Store
RELEASE-NOTES.md
package-lock.json
sw.js
workbox*.js*
43 changes: 40 additions & 3 deletions CHANGELOG.md
Expand Up @@ -4,17 +4,54 @@ All notable changes to this project will be documented in this file. See
[standard-version](https://github.com/conventional-changelog/standard-version) for commit
guidelines.

## [2.18.0](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.17.3...v2.18.0)

Released: 2020-10-19

### Features v2.18.0

- **b-calendar:** add `no-key-nav` property (closes
[#5861](https://github.com/bootstrap-vue/bootstrap-vue/issues/5861))
([#5883](https://github.com/bootstrap-vue/bootstrap-vue/issues/5883))
([955ad63](https://github.com/bootstrap-vue/bootstrap-vue/commit/955ad631698f82a83de214ce9cd37271367d8c45))
- update `core-js` to v3 ([#5894](https://github.com/bootstrap-vue/bootstrap-vue/issues/5894))
([aeed981](https://github.com/bootstrap-vue/bootstrap-vue/commit/aeed9812afe770b6561c9513709e4be852250022))

### Bug Fixes v2.18.0

- **b-calendar:** month formatting for certain dates
([#5911](https://github.com/bootstrap-vue/bootstrap-vue/issues/5911))
([7de1844](https://github.com/bootstrap-vue/bootstrap-vue/commit/7de1844c6d5c0014d25c930527a7fc49a2b0cc25))
- **b-card:** properly support header/footer with body image overlay
([#5872](https://github.com/bootstrap-vue/bootstrap-vue/issues/5872))
([bd8319d](https://github.com/bootstrap-vue/bootstrap-vue/commit/bd8319da8c6166f9fe3e64d9a3ac5c490c6b2f48))
- **b-carousel:** fix glitching when switching slides fast (closes
[#5810](https://github.com/bootstrap-vue/bootstrap-vue/issues/5810))
([#5845](https://github.com/bootstrap-vue/bootstrap-vue/issues/5845))
([761bc93](https://github.com/bootstrap-vue/bootstrap-vue/commit/761bc9381ba24aed751726c8213651e2014aa746))
- **b-link:** `href` handling inconsistencies to `<router-link>` (closes
[#5820](https://github.com/bootstrap-vue/bootstrap-vue/issues/5820))
([#5876](https://github.com/bootstrap-vue/bootstrap-vue/issues/5876))
([daea0e5](https://github.com/bootstrap-vue/bootstrap-vue/commit/daea0e5c638de9ec45d39af5aa1e9f8a9e455422))
- **b-skeleton:** animation overflow issue for Safari
([#5863](https://github.com/bootstrap-vue/bootstrap-vue/issues/5863))
([bfd4f96](https://github.com/bootstrap-vue/bootstrap-vue/commit/bfd4f960d7056edcd2ccb1ae3930639d543d8b34))
- **v-tooltip, v-popover:** render data-\* attributes on root components (closes
[#5836](https://github.com/bootstrap-vue/bootstrap-vue/issues/5836))
([#5882](https://github.com/bootstrap-vue/bootstrap-vue/issues/5882))
([f6b51e0](https://github.com/bootstrap-vue/bootstrap-vue/commit/f6b51e04f074e45e98650034e88c2b5629ad25f6))

<a name="2.17.3"></a>

### [v2.17.3](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.17.2...v2.17.3)
## [v2.17.3](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.17.2...v2.17.3)

Released: 2020-09-18

- No changes to v2.17.2.

<a name="2.17.2"></a>

### [v2.17.2](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.17.1...v2.17.2)
## [v2.17.2](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.17.1...v2.17.2)

Released: 2020-09-18

Expand All @@ -33,7 +70,7 @@ Released: 2020-09-18

<a name="2.17.1"></a>

### [v2.17.1](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.17.0...v2.17.1)
## [v2.17.1](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.17.0...v2.17.1)

Released: 2020-09-16

Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Expand Up @@ -3,7 +3,7 @@ module.exports = api => {

const presets = []
if (!isDocs) {
presets.push(['@babel/env', { useBuiltIns: 'entry', corejs: { version: 2 } }])
presets.push(['@babel/env', { useBuiltIns: 'entry', corejs: { version: 3 } }])
}

return {
Expand Down
34 changes: 17 additions & 17 deletions docs/components/bv-logo.vue
Expand Up @@ -55,6 +55,23 @@
<div v-else class="bv-logo"></div>
</template>

<script>
export default {
data() {
return {
isIE: false,
showLogo: false
}
},
mounted() {
this.$nextTick(() => {
this.isIE = /msie|trident/i.test(window.navigator.userAgent || '')
this.showLogo = true
})
}
}
</script>

<style lang="scss" scoped>
.bv-logo {
display: block;
Expand Down Expand Up @@ -159,20 +176,3 @@
}
}
</style>

<script>
export default {
data() {
return {
isIE: false,
showLogo: false
}
},
mounted() {
this.$nextTick(() => {
this.isIE = /msie|trident/i.test(window.navigator.userAgent || '')
this.showLogo = true
})
}
}
</script>
80 changes: 40 additions & 40 deletions docs/components/componentdoc.vue
Expand Up @@ -95,7 +95,7 @@
bordered
striped
>
<template v-slot:cell(prop)="{ value, item }">
<template #cell(prop)="{ value, item }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code><br>
<b-badge v-if="item.required" variant="info">Required</b-badge>
<b-badge v-if="item.settings" variant="dark" href="/docs/reference/settings" title="Configurable in settings">Settings</b-badge>
Expand All @@ -105,13 +105,13 @@
<b-badge v-if="item.deprecated" variant="danger">Deprecated</b-badge>
<b-badge v-else-if="item.deprecation" variant="warning">Deprecation</b-badge>
</template>
<template v-slot:cell(type)="{ value }">
<template #cell(type)="{ value }">
<span v-html="value"></span>
</template>
<template v-slot:cell(defaultValue)="{ value }">
<template #cell(defaultValue)="{ value }">
<code v-if="value" class="word-wrap-normal notranslate" translate="no">{{ value }}</code>
</template>
<template v-slot:row-details="{ item }">
<template #row-details="{ item }">
<p v-if="typeof item.deprecated === 'string'" class="mb-1 small">
{{ item.deprecated }}
</p>
Expand Down Expand Up @@ -158,10 +158,10 @@
bordered
striped
>
<template v-slot:cell(prop)="{ value }">
<template #cell(prop)="{ value }">
<code class="notranslate" translate="no">{{ kebabCase(value) }}</code>
</template>
<template v-slot:cell(event)="{ value }">
<template #cell(event)="{ value }">
<code class="notranslate" translate="no">{{ value }}</code>
</template>
</b-table-lite>
Expand All @@ -181,11 +181,11 @@
bordered
striped
>
<template v-slot:cell(name)="{ value, item }">
<template #cell(name)="{ value, item }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
<b-badge v-if="item.version" variant="secondary">v{{ item.version }}+</b-badge>
</template>
<template v-slot:cell(scope)="{ value, detailsShowing, toggleDetails }">
<template #cell(scope)="{ value, detailsShowing, toggleDetails }">
<b-button
v-if="value"
variant="outline-info"
Expand All @@ -197,7 +197,7 @@
</b-button>
<span v-else>No</span>
</template>
<template v-slot:row-details="{ item }">
<template #row-details="{ item }">
<b-table-lite
:items="item.scope"
:fields="[{ key: 'prop', label: 'Property' }, 'type', 'description']"
Expand All @@ -207,19 +207,19 @@
caption-top
small
>
<template v-slot:thead-top>
<template #thead-top>
<b-tr>
<b-th colspan="3" class="text-center">
<code class="text-nowrap notranslate" translate="no">{{ item.name }}</code>
Slot scoped properties
</b-th>
</b-tr>
</template>
<template v-slot:cell(prop)="{ value, item }">
<template #cell(prop)="{ value, item: cellItem }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
<b-badge v-if="item.version" variant="secondary">v{{ item.version }}+</b-badge>
<b-badge v-if="cellItem.version" variant="secondary">v{{ cellItem.version }}+</b-badge>
</template>
<template v-slot:cell(type)="{ value }">
<template #cell(type)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value || 'Any' }}</code>
</template>
</b-table-lite>
Expand All @@ -240,11 +240,11 @@
bordered
striped
>
<template v-slot:cell(event)="{ value, item }">
<template #cell(event)="{ value, item }">
<code class="notranslate" translate="no">{{ value }}</code>
<b-badge v-if="item.version" variant="secondary">v{{ item.version }}+</b-badge>
</template>
<template v-slot:cell(args)="{ value, item }">
<template #cell(args)="{ value, item }">
<ol v-if="value && value.length > 0" class="list-unstyled mb-0">
<li v-for="(arg, idx) in value" :key="`event-${item.event}-${arg.arg || idx}`">
<template v-if="arg.arg">
Expand Down Expand Up @@ -274,11 +274,11 @@
bordered
striped
>
<template v-slot:cell(event)="{ value, item }">
<template #cell(event)="{ value, item }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
<b-badge v-if="item.version" variant="secondary">v{{ item.version }}+</b-badge>
</template>
<template v-slot:cell(args)="{ value, item }">
<template #cell(args)="{ value, item }">
<p
v-for="arg in value"
:key="`event-${item.event}-${arg.arg ? arg.arg : 'none'}`"
Expand All @@ -295,29 +295,6 @@
</section>
</template>

<style scoped>
h3::before {
display: block;
height: 1.25rem;
margin-top: -1.25rem;
content: '';
}
code.bigger {
font-size: 105%;
}
ul.component-ref-mini-toc:empty {
display: none;
}
/deep/ .word-wrap-normal {
white-space: normal !important;
word-break: normal !important;
overflow-wrap: normal !important;
}
</style>

<script>
import Vue from 'vue'
import commonProps from '../common-props.json'
Expand Down Expand Up @@ -529,3 +506,26 @@ export default {
}
}
</script>

<style scoped>
h3::before {
display: block;
height: 1.25rem;
margin-top: -1.25rem;
content: '';
}
code.bigger {
font-size: 105%;
}
ul.component-ref-mini-toc:empty {
display: none;
}
/deep/ .word-wrap-normal {
white-space: normal !important;
word-break: normal !important;
overflow-wrap: normal !important;
}
</style>

1 comment on commit 7d3d06e

@vercel
Copy link

@vercel vercel bot commented on 7d3d06e Oct 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.