Skip to content

Commit 724bf3e

Browse files
authored
Merge pull request bootstrap-vue#2876 from bootstrap-vue/dev
chore: release v2.0.0-rc.16
2 parents 1255693 + 10d000b commit 724bf3e

File tree

243 files changed

+9462
-5282
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+9462
-5282
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
.nuxt/
2+
dist/
3+
docs-dist/
4+
es/
25
node_modules/
36
nuxt/plugin.template.js

.eslintrc.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
extends: ['standard', 'plugin:vue/recommended', 'plugin:prettier/recommended'],
3-
plugins: ['jest', 'node', 'promise'],
3+
plugins: ['jest', 'markdown', 'node', 'promise'],
44
parserOptions: {
55
parser: 'babel-eslint',
66
sourceType: 'module'
@@ -14,6 +14,16 @@ module.exports = {
1414
Vue: true
1515
},
1616
rules: {
17+
'vue/html-self-closing': [
18+
'error',
19+
{
20+
html: {
21+
void: 'never',
22+
normal: 'never',
23+
component: 'never'
24+
}
25+
}
26+
],
1727
'vue/max-attributes-per-line': ['error', { singleline: 4 }],
1828
'vue/no-template-shadow': 'off',
1929
'vue/no-use-v-if-with-v-for': 'off',

.github/ISSUE_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
Replace the text below with a thorough description of your issue.
3+
Issues without a description will be closed.
4+
-->
5+
16
**Before opening an issue:**
27

38
- [Search for duplicate or closed issues](https://github.com/bootstrap-vue/bootstrap-vue/issues?utf8=%E2%9C%93&q=is%3Aissue)

CHANGELOG.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,68 @@ guidelines.
66

77
<a name="2.0.0-rc.15"></a>
88

9+
## [v2.0.0-rc.16](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.0.0-rc.15...v2.0.0-rc.16)
10+
11+
Released 2019-03-28
12+
13+
### Bug Fixes v2.0.0-rc.16
14+
15+
- **collapse/toggle:** persist toggle state on element and prevent multiple state emits (closes
16+
[#2923](https://github.com/bootstrap-vue/bootstrap-vue/issues/2923))
17+
([#2924](https://github.com/bootstrap-vue/bootstrap-vue/issues/2924))
18+
([6f899fc](https://github.com/bootstrap-vue/bootstrap-vue/commit/6f899fc))
19+
- **docs:** drop self-closing tags + build system improvements (fixes
20+
[#2882](https://github.com/bootstrap-vue/bootstrap-vue/issues/2882))
21+
([#2893](https://github.com/bootstrap-vue/bootstrap-vue/issues/2893))
22+
([310c7dc](https://github.com/bootstrap-vue/bootstrap-vue/commit/310c7dc))
23+
- **dropdown:** fix `no-caret` prop when dropleft (fixes
24+
[#2909](https://github.com/bootstrap-vue/bootstrap-vue/issues/2909))
25+
([#2910](https://github.com/bootstrap-vue/bootstrap-vue/issues/2910))
26+
([3bef981](https://github.com/bootstrap-vue/bootstrap-vue/commit/3bef981))
27+
- **table:** fix broken aria-labels for sortable columns + break out code into additional mixins +
28+
tests ([#2884](https://github.com/bootstrap-vue/bootstrap-vue/issues/2884))
29+
([ddc2006](https://github.com/bootstrap-vue/bootstrap-vue/commit/ddc2006))
30+
- **table:** fix range selection
31+
([#2865](https://github.com/bootstrap-vue/bootstrap-vue/issues/2865))
32+
([da49558](https://github.com/bootstrap-vue/bootstrap-vue/commit/da49558))
33+
- **table:** fix SSR mismatch errors
34+
([#2897](https://github.com/bootstrap-vue/bootstrap-vue/issues/2897))
35+
([6c1940d](https://github.com/bootstrap-vue/bootstrap-vue/commit/6c1940d))
36+
- **utils/dom:** update closest routine to support SVG
37+
([#2901](https://github.com/bootstrap-vue/bootstrap-vue/issues/2901))
38+
([9d4408d](https://github.com/bootstrap-vue/bootstrap-vue/commit/9d4408d))
39+
40+
### Features v2.0.0-rc.16
41+
42+
- add BOOTSTRAP_VUE_NO_WARN environment variable to hide warnings
43+
([#2826](https://github.com/bootstrap-vue/bootstrap-vue/issues/2826))
44+
([44d0351](https://github.com/bootstrap-vue/bootstrap-vue/commit/44d0351))
45+
- **alert:** remove need for custom CSS for fade transition
46+
([#2925](https://github.com/bootstrap-vue/bootstrap-vue/issues/2925))
47+
([0910b22](https://github.com/bootstrap-vue/bootstrap-vue/commit/0910b22))
48+
- **carousel:** add no-hover-pause prop
49+
([#2888](https://github.com/bootstrap-vue/bootstrap-vue/issues/2888))
50+
([8a503ec](https://github.com/bootstrap-vue/bootstrap-vue/commit/8a503ec))
51+
- **core:** create configurable base global configuration
52+
([#2905](https://github.com/bootstrap-vue/bootstrap-vue/issues/2905))
53+
([8018bdf](https://github.com/bootstrap-vue/bootstrap-vue/commit/8018bdf))
54+
- **form-checkbox/radio:** allow no label in plain mode (fixes
55+
[#2911](https://github.com/bootstrap-vue/bootstrap-vue/issues/2911))
56+
([#2912](https://github.com/bootstrap-vue/bootstrap-vue/issues/2912))
57+
([6f38d9d](https://github.com/bootstrap-vue/bootstrap-vue/commit/6f38d9d))
58+
- **form-file:** add in prop and scoped slot for formatting selected file names
59+
([#2902](https://github.com/bootstrap-vue/bootstrap-vue/issues/2902))
60+
([f53b5f8](https://github.com/bootstrap-vue/bootstrap-vue/commit/f53b5f8))
61+
- **forms:** new b-form-datalist helper component
62+
([#2899](https://github.com/bootstrap-vue/bootstrap-vue/issues/2899))
63+
([e9a8e85](https://github.com/bootstrap-vue/bootstrap-vue/commit/e9a8e85))
64+
- **table:** add basic keyboard nav when table has row-clicked handler or is selctable (closes
65+
[#2869](https://github.com/bootstrap-vue/bootstrap-vue/issues/2869))
66+
([#2870](https://github.com/bootstrap-vue/bootstrap-vue/issues/2870))
67+
([ddcd66a](https://github.com/bootstrap-vue/bootstrap-vue/commit/ddcd66a))
68+
69+
<a name="2.0.0-rc.15"></a>
70+
971
## [v2.0.0-rc.15](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.0.0-rc.14...v2.0.0-rc.15)
1072

1173
Released: 2019-03-18

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Thank you to all our backers! 🙏
8989

9090
This project exists thanks to all the people who contribute. [[Contribute]](CONTRIBUTING.md).
9191

92-
<a href="https://github.com/bootstrap-vue/bootstrap-vue/graphs/contributors"><img src="https://opencollective.com/bootstrap-vue/contributors.svg?width=890" /></a>
92+
<a href="https://github.com/bootstrap-vue/bootstrap-vue/graphs/contributors"><img src="https://opencollective.com/bootstrap-vue/contributors.svg?width=890"></a>
9393

9494
<h2 align="center">License</h2>
9595

babel.config.js

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
1-
module.exports = {
2-
presets: [
3-
[
4-
'@babel/env',
5-
{
6-
useBuiltIns: 'entry'
1+
module.exports = api => {
2+
const isDocs = api.env('docs')
3+
4+
let presets = []
5+
if (!isDocs) {
6+
presets.push(['@babel/env', { useBuiltIns: 'entry', corejs: { version: 2 } }])
7+
}
8+
9+
return {
10+
presets,
11+
env: {
12+
es: {
13+
plugins: [['@babel/plugin-transform-modules-commonjs', { noInterop: true, loose: true }]]
14+
},
15+
test: {
16+
presets: [['@babel/env', { targets: { node: 'current' } }]]
717
}
8-
]
9-
],
10-
env: {
11-
docs: {
12-
plugins: ['@babel/plugin-transform-runtime']
13-
},
14-
es: {
15-
plugins: [['@babel/plugin-transform-modules-commonjs', { noInterop: true, loose: true }]]
16-
},
17-
test: {
18-
presets: [
19-
[
20-
'@babel/env',
21-
{
22-
targets: { node: 'current' }
23-
}
24-
]
25-
]
2618
}
2719
}
2820
}

docs/assets/scss/styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
}
2424

2525
.bd-toc-item.active > .bd-toc-link {
26-
color: #563d7c;
27-
font-weight: bold;
26+
color: #563d7c;
27+
font-weight: bold;
2828
}
2929

3030
.bd-toc-link,

docs/components/anchored-heading.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
export default {
2+
props: {
3+
level: {
4+
type: [Number, String],
5+
default: 2
6+
},
7+
id: {
8+
type: String,
9+
default: ''
10+
}
11+
},
12+
render(h) {
13+
const $anchor = h(
14+
'b-link',
15+
{
16+
staticClass: 'anchorjs-link',
17+
attrs: { to: { hash: `#${this.id}` }, 'aria-label': 'Anchor' }
18+
},
19+
[h(false)]
20+
)
21+
const $content = h('span', { staticClass: 'bd-content-title' }, [this.$slots.default, $anchor])
22+
return h(`h${this.level}`, { attrs: { id: this.id, tabindex: '-1' } }, [$content])
23+
}
24+
}

docs/components/codemirror.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<textarea ref="textArea" :value="value" />
2+
<textarea ref="textArea" :value="value"></textarea>
33
</template>
44

55
<script>

0 commit comments

Comments
 (0)