Skip to content

chore: release v2.20.0 #6111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 114 commits into from
Nov 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
94d7161
chore(deps): update devdependency eslint-plugin-standard to ^4.0.2 (#…
renovate[bot] Oct 22, 2020
3c7a3c0
chore(deps): update devdependency eslint-config-standard to v15 (#5945)
renovate[bot] Oct 22, 2020
ae51376
chore(deps): update devdependency terser to ^5.3.8 (#5948)
renovate[bot] Oct 22, 2020
d3cb1f2
chore:fix missing ` in carousel documentation (#5951)
82amp Oct 22, 2020
345ac81
chore(deps): update devdependency sass-loader to ^10.0.4 (#5952)
renovate[bot] Oct 22, 2020
9c7842c
chore(deps): update devdependency postcss to ^8.1.3 (#5953)
renovate[bot] Oct 23, 2020
6809ecb
chore(deps): update all non-major dependencies to ^26.6.1 (#5956)
renovate[bot] Oct 23, 2020
afeefc7
chore: update contributors
jacobmllr95 Oct 23, 2020
d8c7382
chore(deps): update devdependency @testing-library/jest-dom to ^5.11.…
renovate[bot] Oct 23, 2020
a29d1c1
chore(deps): update all non-major dependencies (#5959)
renovate[bot] Oct 24, 2020
b3946ed
fix(b-avatar): prevent avatar from being squished (#5963)
talkor Oct 25, 2020
6a35cff
chore(deps): update devdependency vue-router to ^3.4.8 (#5966)
renovate[bot] Oct 26, 2020
f51d0ca
chore(deps): update devdependency lint-staged to ^10.5.0 (#5967)
renovate[bot] Oct 26, 2020
3bb5008
chore(deps): update devdependency eslint to ^7.12.1 (#5969)
renovate[bot] Oct 27, 2020
97e37aa
Update README.md (#5971)
criskgl Oct 27, 2020
884834e
chore(deps): update devdependency eslint-config-prettier to ^6.15.0 (…
renovate[bot] Oct 27, 2020
5e82e7f
chore(deps): update devdependency eslint-config-standard to ^15.0.1 (…
renovate[bot] Oct 28, 2020
49a3f00
feat(b-media): improve aside right handling (#5965)
jd-solanki Oct 28, 2020
0e22540
chore(deps): update devdependency execa to ^4.1.0 (#5976)
renovate[bot] Oct 28, 2020
ecb33bd
fix(b-avatar): badge `z-index` handling (#5975)
jacobmllr95 Oct 28, 2020
8e45ad4
chore(deps): update devdependency bootstrap-icons to ^1.1.0 (#5977)
renovate[bot] Oct 28, 2020
f2207f9
chore(docs): replace `<b-input>` with `<b-form-input>` (#5978)
82amp Oct 28, 2020
1b37be5
chore(deps): update devdependency eslint-config-standard to v16 (#5979)
renovate[bot] Oct 29, 2020
c3e1c66
chore(deps): update devdependency postcss-cli to ^8.2.0 (#5983)
renovate[bot] Oct 30, 2020
bc5b696
Switched comments (#5984)
luckylooke Oct 30, 2020
137b095
chore(deps): update devdependency eslint-config-standard to ^16.0.1 (…
renovate[bot] Oct 31, 2020
ebee5ef
chore(deps): update devdependency lint-staged to ^10.5.1 (#5989)
renovate[bot] Oct 31, 2020
2a7e6d8
chore(deps): update devdependency @vue/test-utils to ^1.1.1 (#5991)
renovate[bot] Nov 1, 2020
15b4360
chore(deps): update devdependency rollup to ^2.33.0 (#5992)
renovate[bot] Nov 1, 2020
a2c3df8
chore: migrate from `node-sass` to `sass` (Dart Sass) (#5990)
renovate[bot] Nov 1, 2020
8cd6532
chore(deps): update devdependency rollup to ^2.33.1 (#5993)
renovate[bot] Nov 2, 2020
25ef63c
chore(deps): update devdependency sass-loader to ^10.0.5 (#5996)
renovate[bot] Nov 2, 2020
bc1c183
chore(deps): update devdependency babel-jest to ^26.6.2 (#5997)
renovate[bot] Nov 2, 2020
719d72e
chore(deps): update devdependency jest to ^26.6.2 (#5999)
renovate[bot] Nov 2, 2020
21d0f3a
chore(docs): add gull & dexam themes (#5995)
naime-hossain Nov 3, 2020
c1e5b0b
chore(ci): update Node.js versions (#6001)
jacobmllr95 Nov 3, 2020
411c3be
chore: add `SECURITY.md` (#6002)
jacobmllr95 Nov 3, 2020
1d955c6
chore(ci): add CodeQL action (#6003)
jacobmllr95 Nov 3, 2020
3b77e68
chore(ci): move to Dependabot for all dependency updates (#6004)
jacobmllr95 Nov 3, 2020
8224e10
chore(deps-dev): bump @babel/standalone from 7.12.4 to 7.12.5 (#6010)
dependabot[bot] Nov 4, 2020
02cc7bc
chore(deps-dev): bump babel-jest from 26.6.2 to 26.6.3 (#6011)
dependabot[bot] Nov 4, 2020
70d4965
chore(deps-dev): bump jest from 26.6.2 to 26.6.3 (#6012)
dependabot[bot] Nov 4, 2020
afdd540
chore(docs): improve component name formatting (#6014)
jacobmllr95 Nov 4, 2020
37ec7e9
fix(b-form-checkbox/b-form-radio): `chnage` event timing (#6008)
jacobmllr95 Nov 4, 2020
16f777b
fix(b-form-group): accessibility when `label-for` prop not set (#6006)
jacobmllr95 Nov 4, 2020
2296686
chore: unify interval/timeout handling (#6015)
jacobmllr95 Nov 5, 2020
cf7a1cb
fix(b-dropdown): click handling on close (closes #5982) (#6009)
jacobmllr95 Nov 5, 2020
14e1995
chore(deps-dev): bump sass from 1.28.0 to 1.29.0 (#6018)
dependabot[bot] Nov 5, 2020
27fc1bc
chore(deps-dev): bump marked from 1.2.2 to 1.2.3 (#6017)
dependabot[bot] Nov 5, 2020
a67506b
chore(deps-dev): bump @babel/standalone from 7.12.5 to 7.12.6 (#6016)
dependabot[bot] Nov 5, 2020
7d78b48
chore(docs): add another `pageOptions` setting example (#6019)
TomyCesaille Nov 5, 2020
159fb20
chore(deps-dev): bump postcss from 8.1.4 to 8.1.6 (#6021)
dependabot[bot] Nov 6, 2020
84366bf
chore(deps-dev): bump vue-router from 3.4.8 to 3.4.9 (#6022)
dependabot[bot] Nov 6, 2020
7ea0cc4
feat(config): improved defaults handling (closes #4507, #5138, #5291,…
Hiws Nov 7, 2020
22d05b3
chore: bump version to v2.19.0 (#6025)
jacobmllr95 Nov 8, 2020
52db5e5
Merge branch 'master' of https://github.com/bootstrap-vue/bootstrap-v…
jacobmllr95 Nov 8, 2020
239ebc3
chore(deps-dev): bump core-js from 3.6.5 to 3.7.0 (#6027)
dependabot[bot] Nov 9, 2020
72ffbdb
chore(deps-dev): bump eslint from 7.12.1 to 7.13.0 (#6028)
dependabot[bot] Nov 9, 2020
25080ca
chore(docs): correct comment to Nuxt.js module `icons` option
jacobmllr95 Nov 10, 2020
19292c9
chore(deps-dev): bump eslint-plugin-standard from 4.0.2 to 4.1.0 (#6033)
dependabot[bot] Nov 10, 2020
c1ad3ae
chore(deps-dev): bump autoprefixer from 10.0.1 to 10.0.2 (#6036)
dependabot[bot] Nov 11, 2020
8183b64
chore(deps-dev): bump postcss from 8.1.6 to 8.1.7 (#6037)
dependabot[bot] Nov 11, 2020
7a385ae
Merge branch 'master' of https://github.com/bootstrap-vue/bootstrap-v…
jacobmllr95 Nov 12, 2020
9d35903
Merge branch 'master' of https://github.com/bootstrap-vue/bootstrap-v…
jacobmllr95 Nov 12, 2020
52107cf
chore(docs): fix gull & dexam preview image link (#6040)
naime-hossain Nov 12, 2020
1b5617c
chore(deps-dev): bump sass-loader from 10.0.5 to 10.1.0 (#6041)
dependabot[bot] Nov 12, 2020
586ce2f
chore(deps-dev): bump eslint-plugin-jest from 24.1.0 to 24.1.2 (#6042)
dependabot[bot] Nov 12, 2020
13e7302
chore(docs): update "Can I use" links (#6043)
jacobmllr95 Nov 12, 2020
de2559f
chore(deps-dev): bump eslint-plugin-jest from 24.1.2 to 24.1.3 (#6044)
dependabot[bot] Nov 13, 2020
e8b25a2
chore(deps-dev): bump marked from 1.2.3 to 1.2.4 (#6049)
dependabot[bot] Nov 16, 2020
8efaa94
chore(deps-dev): bump @testing-library/jest-dom from 5.11.5 to 5.11.6…
dependabot[bot] Nov 16, 2020
fbdd121
chore(deps-dev): bump rollup from 2.33.1 to 2.33.2 (#6050)
dependabot[bot] Nov 16, 2020
47af7aa
chore(deps-dev): bump terser from 5.3.8 to 5.4.0 (#6053)
dependabot[bot] Nov 17, 2020
6c236fa
chore(deps-dev): bump eslint-config-standard from 16.0.1 to 16.0.2 (#…
dependabot[bot] Nov 18, 2020
9cca17c
chore(deps-dev): bump rollup from 2.33.2 to 2.33.3 (#6054)
dependabot[bot] Nov 18, 2020
12654b4
chore(deps-dev): bump postcss-cli from 8.2.0 to 8.3.0 (#6056)
dependabot[bot] Nov 18, 2020
6f467df
chore(deps-dev): bump terser from 5.4.0 to 5.5.0 (#6057)
dependabot[bot] Nov 20, 2020
8701cec
chore(deps-dev): bump codemirror from 5.58.2 to 5.58.3 (#6058)
dependabot[bot] Nov 20, 2020
5ac16d1
chore(deps-dev): bump @nuxt/content from 1.10.0 to 1.11.0 (#6059)
dependabot[bot] Nov 20, 2020
77d4c7e
chore(deps-dev): bump highlight.js from 9.18.3 to 9.18.4 (#6060)
dependabot[bot] Nov 20, 2020
1f504cf
chore(deps-dev): bump postcss from 8.1.7 to 8.1.8 (#6065)
dependabot[bot] Nov 20, 2020
1446bb8
chore(deps-dev): bump highlight.js from 9.18.4 to 9.18.5 (#6066)
dependabot[bot] Nov 22, 2020
38f5b0e
chore(deps-dev): bump marked from 1.2.4 to 1.2.5 (#6067)
dependabot[bot] Nov 22, 2020
3aca397
chore(deps-dev): bump @babel/cli from 7.12.1 to 7.12.7 (#6072)
dependabot[bot] Nov 23, 2020
813fca5
chore(deps-dev): bump @babel/preset-env from 7.12.1 to 7.12.7 (#6073)
dependabot[bot] Nov 23, 2020
499bfcc
chore(deps-dev): bump postcss from 8.1.8 to 8.1.9 (#6074)
dependabot[bot] Nov 23, 2020
648b278
chore(deps-dev): bump @babel/standalone from 7.12.6 to 7.12.7 (#6075)
dependabot[bot] Nov 23, 2020
a429e27
chore(deps-dev): bump eslint-plugin-standard from 4.1.0 to 5.0.0 (#6071)
dependabot[bot] Nov 23, 2020
711e6f5
chore(deps): remove deperacted `eslint-plugin-standard` (#6077)
jacobmllr95 Nov 23, 2020
6c124d8
chore(deps-dev): bump eslint from 7.13.0 to 7.14.0 (#6081)
dependabot[bot] Nov 24, 2020
2028e70
chore(deps-dev): bump postcss from 8.1.9 to 8.1.10 (#6079)
dependabot[bot] Nov 24, 2020
2534a0c
chore(deps-dev): bump @babel/core from 7.12.3 to 7.12.8 (#6083)
dependabot[bot] Nov 24, 2020
68be9b5
chore(deps-dev): bump @babel/cli from 7.12.7 to 7.12.8 (#6082)
dependabot[bot] Nov 24, 2020
42b30b4
chore(deps-dev): bump @babel/standalone from 7.12.7 to 7.12.8 (#6080)
dependabot[bot] Nov 24, 2020
d6d8e3c
fix(b-form-input): modified value handling (#6084)
jacobmllr95 Nov 24, 2020
cea6051
fix: user supplied prop function detection (#6070)
jacobmllr95 Nov 24, 2020
9af9323
chore(deps-dev): bump @nuxt/content from 1.11.0 to 1.11.1 (#6089)
dependabot[bot] Nov 25, 2020
c34b890
chore(deps-dev): bump lint-staged from 10.5.1 to 10.5.2 (#6088)
dependabot[bot] Nov 25, 2020
32e2fec
chore(deps-dev): bump @babel/standalone from 7.12.8 to 7.12.9 (#6087)
dependabot[bot] Nov 25, 2020
91320d5
chore(deps-dev): bump @babel/core from 7.12.8 to 7.12.9 (#6086)
dependabot[bot] Nov 25, 2020
ba173f9
chore(deps): regenerate lockfile (#6091)
jacobmllr95 Nov 25, 2020
8748c0d
chore(deps-dev): bump core-js from 3.7.0 to 3.8.0 (#6093)
dependabot[bot] Nov 26, 2020
46b8b92
chore(deps-dev): bump autoprefixer from 10.0.2 to 10.0.3 (#6096)
dependabot[bot] Nov 27, 2020
dd23742
fix(b-table): only set `tabindex="0"` for sortable TH's (#6102)
jacobmllr95 Nov 29, 2020
5082976
fix(b-form-spinbutton): button markup (#6101)
jacobmllr95 Nov 29, 2020
fd08f9b
chore(refactor): improved code sharing between form components (#6100)
jacobmllr95 Nov 29, 2020
2dc6b9d
fix(b-form-tags): required handling (closes #6094) (#6103)
jacobmllr95 Nov 29, 2020
d610291
feat(b-form-tags): add `reset` method (#6104)
jacobmllr95 Nov 30, 2020
84f56fe
chore(deps-dev): bump autoprefixer from 10.0.3 to 10.0.4 (#6106)
dependabot[bot] Nov 30, 2020
95a7ab1
chore(deps-dev): bump rollup from 2.33.3 to 2.34.0 (#6107)
dependabot[bot] Nov 30, 2020
874a2c4
chore(deps-dev): bump @nuxtjs/pwa from 3.2.2 to 3.3.1 (#6108)
dependabot[bot] Nov 30, 2020
2700ebd
chore(deps-dev): bump terser from 5.5.0 to 5.5.1 (#6109)
dependabot[bot] Nov 30, 2020
29fbcb5
fix(b-table): sort handling for numeric string values (closes #6092) …
jacobmllr95 Nov 30, 2020
531277e
chore: bump version to v2.20.0 (#6110)
jacobmllr95 Nov 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,41 @@ 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.

<a name="2.20.0"></a>

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

Released: 2020-11-30

### Features v2.20.0

- **b-form-tags:** add `reset` method
([#6104](https://github.com/bootstrap-vue/bootstrap-vue/issues/6104))
([d610291](https://github.com/bootstrap-vue/bootstrap-vue/commit/d6102913a5f9a3295f646fad50ba58ffc31533e8))

### Bug Fixes v2.20.0

- **b-form-input:** modified value handling
([#6084](https://github.com/bootstrap-vue/bootstrap-vue/issues/6084))
([d6d8e3c](https://github.com/bootstrap-vue/bootstrap-vue/commit/d6d8e3c0f309ca16ede0c874bb787ab2fed7b380))
- **b-form-spinbutton:** button markup
([#6101](https://github.com/bootstrap-vue/bootstrap-vue/issues/6101))
([5082976](https://github.com/bootstrap-vue/bootstrap-vue/commit/5082976e90264cadd84a4c9dbf339ce90fe49456))
- **b-form-tags:** required handling (closes
[#6094](https://github.com/bootstrap-vue/bootstrap-vue/issues/6094))
([#6103](https://github.com/bootstrap-vue/bootstrap-vue/issues/6103))
([2dc6b9d](https://github.com/bootstrap-vue/bootstrap-vue/commit/2dc6b9d5bc5fcb3cf1febda7d9e5b03d1ee9a3d0))
- **b-table:** only set `tabindex="0"` for sortable TH's
([#6102](https://github.com/bootstrap-vue/bootstrap-vue/issues/6102))
([dd23742](https://github.com/bootstrap-vue/bootstrap-vue/commit/dd237425e4e7a7e73d5c17210780b02dab2110e2))
- **b-table:** sort handling for numeric string values (closes
[#6092](https://github.com/bootstrap-vue/bootstrap-vue/issues/6092))
([#6105](https://github.com/bootstrap-vue/bootstrap-vue/issues/6105))
([29fbcb5](https://github.com/bootstrap-vue/bootstrap-vue/commit/29fbcb58c5efed0dbbafa8b0bb5fc1d1651079cd))
- user supplied prop function detection
([#6070](https://github.com/bootstrap-vue/bootstrap-vue/issues/6070))
([cea6051](https://github.com/bootstrap-vue/bootstrap-vue/commit/cea6051efc901325d63c22f65381242bd6e774e7))

<a name="2.19.0"></a>

## [v2.19.0](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.18.1...v2.19.0)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: 'Dexam - Startup & Product Landing Page'
type: 'landing page'
category: 'Landing Page'
img: 'https://raw.githubusercontent.com/mh-rafi/vue-landing/master/preview.png?token=ADAAYN6HJGIO53OHN7MX3SC7VERDM'
img: 'https://i.ibb.co/1MyVr6S/preview-dexam.png'
href: 'https://1.envato.market/rVP4d'
description: 'Dexam is a clean startup and product landing page built with Vue Cli and BootstrapVue. It comes with 10+ home and colors variations. A HTML version is included.'
provider: 'UI Lib'
Expand Down
2 changes: 1 addition & 1 deletion docs/content/themes/gull-admin-dashboard.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: 'Gull - Admin Dashboard'
type: 'dashboard'
category: 'Admin & Dashboard'
img: 'https://raw.githubusercontent.com/mh-rafi/gull-vue/master/preview.png?token=ADAAYNYX54YEQFO4JSGDQHK7VEOBG'
img: 'https://i.ibb.co/bRH1NN5/preview-gull.png'
href: 'https://1.envato.market/ayXRq'
description: 'Gull is a modern, next-generation Vue.js Admin Dashboard. It is feature-rich, responsive and built on top of Vue CLI, Vuex, Vue Router and BootstrapVue. If you want to create a Vue.js Admin Dashboard, Gull is best option.'
provider: 'UI Lib'
Expand Down
3 changes: 2 additions & 1 deletion docs/markdown/intro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,8 @@ All Icons:
module.exports = {
modules: ['bootstrap-vue/nuxt'],
bootstrapVue: {
icons: true // Install the IconsPlugin (in addition to BootStrapVue plugin
// Install the `IconsPlugin` plugin (in addition to `BootstrapVue` plugin)
icons: true
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/markdown/reference/router-links/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ the viewport, Nuxt.js will automatically prefetch the code splitted page. Settin

Prefetching support requires
[IntersectionObserver](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API)
to be supported (see [CanIUse](https://caniuse.com/#feat=intersectionobserver)). For browsers that
do not support IntersectionObserver, you can use the following conditional polyfill in
to be supported (see [Can I use](https://caniuse.com/intersectionobserver)). For browsers that do
not support IntersectionObserver, you can use the following conditional polyfill in
`nuxt.config.js`:

```js
Expand Down
45 changes: 22 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-vue",
"version": "2.19.0",
"version": "2.20.0",
"description": "With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4 component and grid system available for Vue.js v2.6, complete with extensive and automated WAI-ARIA accessibility markup.",
"main": "dist/bootstrap-vue.common.js",
"web": "dist/bootstrap-vue.js",
Expand Down Expand Up @@ -91,67 +91,66 @@
"vue-functional-data-merge": "^3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.9",
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/standalone": "^7.12.6",
"@nuxt/content": "^1.10.0",
"@babel/preset-env": "^7.12.7",
"@babel/standalone": "^7.12.9",
"@nuxt/content": "^1.11.1",
"@nuxtjs/google-analytics": "^2.4.0",
"@nuxtjs/pwa": "^3.2.2",
"@nuxtjs/pwa": "^3.3.1",
"@nuxtjs/robots": "^2.4.2",
"@nuxtjs/sitemap": "^2.4.0",
"@testing-library/jest-dom": "^5.11.5",
"@testing-library/jest-dom": "^5.11.6",
"@vue/test-utils": "^1.1.1",
"autoprefixer": "^10.0.1",
"autoprefixer": "^10.0.4",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-plugin-istanbul": "^6.0.0",
"bootstrap-icons": "^1.1.0",
"bundlewatch": "^0.3.1",
"clean-css-cli": "^4.3.0",
"codemirror": "^5.58.2",
"codemirror": "^5.58.3",
"codesandbox": "^2.2.1",
"core-js": "^3.6.5",
"core-js": "^3.8.0",
"cross-env": "^7.0.2",
"eslint": "^7.12.1",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-standard": "^16.0.1",
"eslint-config-standard": "^16.0.2",
"eslint-config-vue": "^2.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-markdown": "^1.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.2",
"eslint-plugin-vue": "^7.1.0",
"esm": "^3.2.25",
"execa": "^4.1.0",
"highlight.js": "^9.18.2",
"highlight.js": "^9.18.5",
"html-loader": "^1.3.2",
"husky": "^4.3.0",
"improved-yarn-audit": "^2.3.1",
"jest": "^26.6.3",
"lint-staged": "^10.5.1",
"lint-staged": "^10.5.2",
"loader-utils": "^2.0.0",
"lodash": "^4.17.20",
"marked": "^1.2.3",
"marked": "^1.2.5",
"nuxt": "^2.14.7",
"postcss": "^8.1.6",
"postcss-cli": "^8.2.0",
"postcss": "^8.1.10",
"postcss-cli": "^8.3.0",
"prettier": "1.14.3",
"require-context": "^1.1.0",
"rollup": "^2.33.1",
"rollup": "^2.34.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"sass": "^1.29.0",
"sass-loader": "^10.0.5",
"sass-loader": "^10.1.0",
"standard-version": "^9.0.0",
"terser": "^5.3.8",
"terser": "^5.5.1",
"vue": "^2.6.12",
"vue-jest": "^3.0.7",
"vue-router": "^3.4.9",
Expand Down
2 changes: 1 addition & 1 deletion src/components/avatar/_avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
max-height: auto;
border-radius: inherit;
// This is not supported in IE11 and Edge <16
// https://caniuse.com/#feat=object-fit
// https://caniuse.com/object-fit
object-fit: cover;
}

Expand Down
14 changes: 3 additions & 11 deletions src/components/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import {
} from '../../utils/date'
import { attemptBlur, attemptFocus, requestAF } from '../../utils/dom'
import { stopEvent } from '../../utils/events'
import { isArray, isPlainObject, isString, isUndefined } from '../../utils/inspect'
import { isArray, isPlainObject, isString } from '../../utils/inspect'
import { isLocaleRTL } from '../../utils/locale'
import { mathMax } from '../../utils/math'
import { toInteger } from '../../utils/number'
Expand Down Expand Up @@ -342,20 +342,12 @@ export const BCalendar = Vue.extend({
},
computedDateDisabledFn() {
const { dateDisabledFn } = this
let result = null
try {
result = dateDisabledFn()
} catch {}
return isUndefined(result) ? () => false : dateDisabledFn
return dateDisabledFn.name !== 'default' ? dateDisabledFn : () => false
},
// TODO: Change `dateInfoFn` to handle events and notes as well as classes
computedDateInfoFn() {
const { dateInfoFn } = this
let result = null
try {
result = dateInfoFn()
} catch {}
return isUndefined(result) ? () => ({}) : dateInfoFn
return dateInfoFn.name !== 'default' ? dateInfoFn : () => ({})
},
calendarLocale() {
// This locale enforces the gregorian calendar (for use in formatter functions)
Expand Down
33 changes: 7 additions & 26 deletions src/components/form-checkbox/form-checkbox-group.js
Original file line number Diff line number Diff line change
@@ -1,60 +1,41 @@
import Vue from '../../vue'
import { NAME_FORM_CHECKBOX_GROUP } from '../../constants/components'
import { makePropsConfigurable } from '../../utils/config'
import formControlMixin, { props as formControlProps } from '../../mixins/form-control'
import formOptionsMixin, { props as formOptionsProps } from '../../mixins/form-options'
import formRadioCheckGroupMixin, {
props as formRadioCheckGroupProps
} from '../../mixins/form-radio-check-group'
import formSizeMixin, { props as formSizeProps } from '../../mixins/form-size'
import formStateMixin, { props as formStateProps } from '../../mixins/form-state'
import idMixin from '../../mixins/id'

// --- Props ---

export const props = makePropsConfigurable(
{
...formControlProps,
...formOptionsProps,
...formRadioCheckGroupProps,
...formSizeProps,
...formStateProps,
checked: {
type: Array,
default: () => []
},
switches: {
// Custom switch styling
type: Boolean,
default: false
},
checked: {
type: Array,
default: null
}
},
NAME_FORM_CHECKBOX_GROUP
)

// --- Main component ---

// @vue/component
export const BFormCheckboxGroup = /*#__PURE__*/ Vue.extend({
name: NAME_FORM_CHECKBOX_GROUP,
mixins: [
idMixin,
formControlMixin,
formRadioCheckGroupMixin, // Includes render function
formOptionsMixin,
formSizeMixin,
formStateMixin
],
// Includes render function
mixins: [formRadioCheckGroupMixin],
provide() {
return {
bvCheckGroup: this
}
},
props,
data() {
return {
localChecked: this.checked || []
}
},
computed: {
isRadioGroup() {
return false
Expand Down
4 changes: 2 additions & 2 deletions src/components/form-checkbox/form-checkbox-group.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,11 @@ describe('form-checkbox-group', () => {
}
})

expect(wrapper.classes()).toBeDefined()
expect(wrapper.vm.isRadioGroup).toEqual(false)
expect(wrapper.vm.localChecked).toEqual([])

const $inputs = wrapper.findAll('input')
expect($inputs.length).toBe(3)
expect(wrapper.vm.localChecked).toEqual([])
expect($inputs.wrappers.every(c => c.find('input[type=checkbox]').exists())).toBe(true)

wrapper.destroy()
Expand Down
2 changes: 1 addition & 1 deletion src/components/form-file/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ files are selected the return value will be an array of JavaScript
<strong>CAUTION:</strong> Directory mode is a <em>non-standard</em> feature. While being
supported by all modern browsers, it should not be relied on for production.
Read more on <a class="alert-link" href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory">MDN</a>
and <a class="alert-link" href="https://caniuse.com/#feat=input-file-directory">Can I use</a>.
and <a class="alert-link" href="https://caniuse.com/input-file-directory">Can I use</a>.
</p>
</div>

Expand Down
17 changes: 4 additions & 13 deletions src/components/form-file/form-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,7 @@ import { makePropsConfigurable } from '../../utils/config'
import { closest } from '../../utils/dom'
import { hasPromiseSupport } from '../../utils/env'
import { eventOn, eventOff, stopEvent } from '../../utils/events'
import {
isArray,
isFile,
isFunction,
isNull,
isUndefined,
isUndefinedOrNull
} from '../../utils/inspect'
import { isArray, isFile, isFunction, isNull, isUndefinedOrNull } from '../../utils/inspect'
import { File } from '../../utils/safe-types'
import { escapeRegExp } from '../../utils/string'
import { warn } from '../../utils/warn'
Expand Down Expand Up @@ -276,11 +269,9 @@ export const BFormFile = /*#__PURE__*/ Vue.extend({
},
computedFileNameFormatter() {
const { fileNameFormatter } = this
let result = null
try {
result = fileNameFormatter()
} catch {}
return isUndefined(result) ? this.defaultFileNameFormatter : fileNameFormatter
return fileNameFormatter.name !== 'default'
? fileNameFormatter
: this.defaultFileNameFormatter
},
clonedFiles() {
return cloneDeep(this.files)
Expand Down
2 changes: 1 addition & 1 deletion src/components/form-group/form-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ export const BFormGroup = {
id: this.safeId(),
disabled: isFieldset ? this.disabled : null,
role: isFieldset ? null : 'group',
'aria-invalid': state === false ? 'true' : null,
'aria-invalid': this.computedAriaInvalid,
// Only apply aria-labelledby if we are a horizontal fieldset
// as the legend is no longer a direct child of fieldset
'aria-labelledby': isFieldset && isHorizontal ? labelId : null,
Expand Down
4 changes: 2 additions & 2 deletions src/components/form-input/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ rendered and a console warning will be issued.
**Caveats with input types:**

- Not all browsers support all input types, nor do some types render in the same format across
browser types/versions. Refer to [caniuse.com](https://caniuse.com/#search=input).
browser types/versions. Refer to [Can I use](https://caniuse.com/?search=input).
- Browsers that do not support a particular type will fall back to a `text` input type (even though
the rendered `type` attribute markup shows the requested type).
- No testing is performed to see if the requested input type is supported by the browser.
Expand Down Expand Up @@ -474,7 +474,7 @@ from an array of options.
- Datalists **cannot** be applied to input fields with type `password`, `range` or `color`.
- Not all browsers fully support `<datalist>` and implementations can be buggy. It is recommended
that datalists be treated as an enhancement and not be relied upon at this time. Check
[Can I Use](https://caniuse.com/#feat=datalist) for full support details on all browsers.
[Can I use](https://caniuse.com/datalist) for full support details on all browsers.

## `v-model` modifiers

Expand Down
Loading