From 35ccc60a5378b75f16fe23f4f0e8218cd18e3a1f Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Wed, 8 Jan 2020 20:38:00 -0400 Subject: [PATCH 01/30] chore: minor update to the github readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c09a575efd..6f37e4fe336 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@

- BootstrapVue, with over 40 available plugins and more than 80 custom components, provides - one of the most comprehensive implementations of the Bootstrap v4.3 component and grid + BootstrapVue, with over 40 available plugins, more than 80 custom components, and over 300 icons, + provides one of the most comprehensive implementations of the Bootstrap v4.3 component and grid system for Vue.js, complete with extensive and automated WAI-ARIA accessibility markup.


From 56b8472dd3daa038a1bbf99d60588d67dbb5d224 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2020 07:09:36 +0100 Subject: [PATCH 02/30] chore(deps): update devdependency husky to ^4.0.3 (#4578) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 07440579b3a..3b50cc2ae65 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "gh-pages": "^2.2.0", "highlight.js": "^9.17.1", "html-loader": "^0.5.5", - "husky": "^4.0.1", + "husky": "^4.0.3", "jest": "^24.9.0", "jest-environment-jsdom-fourteen": "^1.0.1", "lint-staged": "^9.5.0", diff --git a/yarn.lock b/yarn.lock index 9b101016c29..3993a9c0ce7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6272,10 +6272,10 @@ humps@^2.0.1: resolved "https://registry.yarnpkg.com/humps/-/humps-2.0.1.tgz#dd02ea6081bd0568dc5d073184463957ba9ef9aa" integrity sha1-3QLqYIG9BWjcXQcxhEY5V7qe+ao= -husky@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/husky/-/husky-4.0.1.tgz#b0d9e16e660ec352392b3c2164ba709694d86b4d" - integrity sha512-x2wzNz3mra5rSYBPb9w59Bg3d5HnJZ+DBAALbMl/1K15Yv8zhcAxhrS792nMyjkxLsoPZtNpmnX+RqLtIKxpDQ== +husky@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/husky/-/husky-4.0.3.tgz#8a082455f8c76a602ec00f9a6a6f9f458860f49e" + integrity sha512-pI4e5iC8hFkPAjOdJGdBubVdjKGhoZq0l0kkHpqGN1uf3U1Iq0wLloBm26R5OhdWYqhuBYRdRjRAclDg59+c5A== dependencies: chalk "^3.0.0" ci-info "^2.0.0" From 7fed1911d6d9f7eae81526010483c71e1679e770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20M=C3=BCller?= Date: Thu, 9 Jan 2020 09:11:29 +0100 Subject: [PATCH 03/30] fix(utils): correct `identity` spelling error (#4579) --- src/utils/get.js | 4 ++-- src/utils/normalize-slot.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/get.js b/src/utils/get.js index 42bb36ad073..8984ddc2b59 100644 --- a/src/utils/get.js +++ b/src/utils/get.js @@ -1,4 +1,4 @@ -import idendity from './identity' +import identity from './identity' import { isArray, isObject } from './inspect' const RX_ARRAY_NOTATION = /\[(\d+)]/g @@ -33,7 +33,7 @@ const get = (obj, path, defaultValue = null) => { // Handle string array notation (numeric indices only) path = String(path).replace(RX_ARRAY_NOTATION, '.$1') - const steps = path.split('.').filter(idendity) + const steps = path.split('.').filter(identity) // Handle case where someone passes a string of only dots if (steps.length === 0) { diff --git a/src/utils/normalize-slot.js b/src/utils/normalize-slot.js index 71c8b4161c2..839e93057fa 100644 --- a/src/utils/normalize-slot.js +++ b/src/utils/normalize-slot.js @@ -1,4 +1,4 @@ -import idendity from './identity' +import identity from './identity' import { concat } from './array' import { isFunction } from './inspect' @@ -17,7 +17,7 @@ import { isFunction } from './inspect' */ const hasNormalizedSlot = (names, $scopedSlots = {}, $slots = {}) => { // Ensure names is an array - names = concat(names).filter(idendity) + names = concat(names).filter(identity) // Returns true if the either a $scopedSlot or $slot exists with the specified name return names.some(name => $scopedSlots[name] || $slots[name]) } @@ -33,7 +33,7 @@ const hasNormalizedSlot = (names, $scopedSlots = {}, $slots = {}) => { */ const normalizeSlot = (names, scope = {}, $scopedSlots = {}, $slots = {}) => { // Ensure names is an array - names = concat(names).filter(idendity) + names = concat(names).filter(identity) let slot for (let i = 0; i < names.length && !slot; i++) { const name = names[i] From f917bc3d2881bb155532a36aaae7c8c4c08664e0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2020 14:50:37 +0100 Subject: [PATCH 04/30] chore(deps): update devdependency postcss-cli to ^7.1.0 (#4581) Co-authored-by: WhiteSource Renovate --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3b50cc2ae65..76b6d4cf8d7 100644 --- a/package.json +++ b/package.json @@ -142,7 +142,7 @@ "marked": "^0.8.0", "node-sass": "^4.13.0", "nuxt": "^2.11.0", - "postcss-cli": "^7.0.0", + "postcss-cli": "^7.1.0", "prettier": "1.14.3", "require-context": "^1.1.0", "rollup": "^1.29.0", diff --git a/yarn.lock b/yarn.lock index 3993a9c0ce7..53eeae2946a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9399,10 +9399,10 @@ postcss-calc@^7.0.1: postcss-selector-parser "^5.0.0-rc.4" postcss-value-parser "^3.3.1" -postcss-cli@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/postcss-cli/-/postcss-cli-7.0.0.tgz#00edbbc68f7510cd57028f3e53ddecb787934572" - integrity sha512-dxn73RcKOennwaijmo2DjTOM3f2bcl/GSSUEqpguiHfRSfRLY3sUvbEy2vvuJ1RasuXCcJ0KvoGe9nSSA7mHQw== +postcss-cli@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/postcss-cli/-/postcss-cli-7.1.0.tgz#769b07b8865aaa3e98c7c63a3d256b4f51e3e237" + integrity sha512-tCGK0GO2reu644dUHxks8U2SAtKnzftQTAXN1dwzFPoKXZr0b7VX4vTkQ2Pl2Lunas6+o8uHR56hlcYBm1srZg== dependencies: chalk "^3.0.0" chokidar "^3.3.0" From aca4a5c8f9a9ed0d7526de396ff072f0c1f4ebdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20M=C3=BCller?= Date: Thu, 9 Jan 2020 20:55:29 +0100 Subject: [PATCH 05/30] feat(docs): improve form validation examples (#4584) --- docs/markdown/reference/validation/README.md | 192 ++++--------------- 1 file changed, 35 insertions(+), 157 deletions(-) diff --git a/docs/markdown/reference/validation/README.md b/docs/markdown/reference/validation/README.md index 10bef42f42f..b46252cd720 100644 --- a/docs/markdown/reference/validation/README.md +++ b/docs/markdown/reference/validation/README.md @@ -18,87 +18,17 @@ This is a verbose example designed to show how BootstrapVue and Vuelidate intera applications, you'd likely want to abstract some of the functionality, such as creating a standard error message component. -```html - - - -``` + -## VeeValidate +## VeeValidate v2 -[VeeValidate](https://logaretm.github.io/vee-validate/) is a plugin for Vue.js that allows you to +[VeeValidate](http://vee-validate.logaretm.com/v2/) is a plugin for Vue.js that allows you to validate input fields and display errors. It has full support for [Vue I18n](https://kazupon.github.io/vue-i18n/) and provides fairly good out of the box error messages. @@ -122,81 +52,29 @@ Vue.use(VeeValidate, { }) ``` -### VeeValidate example - -Same example as above, just modified for VeeValidate: - -```html - - - -``` +### VeeValidate v2 example + + + +## VeeValidate v3 + +[VeeValidate](http://vee-validate.logaretm.com/) is a plugin for Vue.js that allows you to validate +input fields and display errors. It has full support for +[Vue I18n](https://kazupon.github.io/vue-i18n/) and provides fairly good out of the box error +messages. + +### VeeValidate v3 example + + From 4953b3f587c17f298a826ac9fe802cd766396ebf Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Thu, 9 Jan 2020 16:25:09 -0400 Subject: [PATCH 06/30] chore(docs): add example of using dropdown in form-tags custom rendering (closes #1794) (#4582) --- src/components/form-tags/README.md | 151 ++++++++++++++++++++++++----- 1 file changed, 128 insertions(+), 23 deletions(-) diff --git a/src/components/form-tags/README.md b/src/components/form-tags/README.md index a941c6c2907..9b4ba743c2a 100644 --- a/src/components/form-tags/README.md +++ b/src/components/form-tags/README.md @@ -501,27 +501,27 @@ of tags: @@ -532,13 +532,13 @@ of tags: export default { data() { return { - allOptions: ['Apple', 'Orange', 'Banana', 'Lime', 'Peach', 'Chocolate', 'Strawberry'], + options: ['Apple', 'Orange', 'Banana', 'Lime', 'Peach', 'Chocolate', 'Strawberry'], value: [] } }, computed: { availableOptions() { - return this.allOptions.filter(opt => this.value.indexOf(opt) === -1) + return this.options.filter(opt => this.value.indexOf(opt) === -1) } } } @@ -657,6 +657,111 @@ default slot's scope. ``` +The following is an example of using the `` component for choosing or searching from a +pre-defined set of tags: + +```html + + + + + +``` + ### Creating wrapper components You can easily create a custom wrapper component with your preferred rendering style as follows: From 62dddc83fdf167dc160857e216fcefb485db01c1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2020 17:16:01 -0400 Subject: [PATCH 07/30] chore(deps): update devdependency husky to ^4.0.4 (#4586) --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 76b6d4cf8d7..05b45a6418a 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "gh-pages": "^2.2.0", "highlight.js": "^9.17.1", "html-loader": "^0.5.5", - "husky": "^4.0.3", + "husky": "^4.0.4", "jest": "^24.9.0", "jest-environment-jsdom-fourteen": "^1.0.1", "lint-staged": "^9.5.0", diff --git a/yarn.lock b/yarn.lock index 53eeae2946a..422d501e9a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6272,10 +6272,10 @@ humps@^2.0.1: resolved "https://registry.yarnpkg.com/humps/-/humps-2.0.1.tgz#dd02ea6081bd0568dc5d073184463957ba9ef9aa" integrity sha1-3QLqYIG9BWjcXQcxhEY5V7qe+ao= -husky@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/husky/-/husky-4.0.3.tgz#8a082455f8c76a602ec00f9a6a6f9f458860f49e" - integrity sha512-pI4e5iC8hFkPAjOdJGdBubVdjKGhoZq0l0kkHpqGN1uf3U1Iq0wLloBm26R5OhdWYqhuBYRdRjRAclDg59+c5A== +husky@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/husky/-/husky-4.0.4.tgz#f4aaee536c5bd0e4618451d0615f46b43a94816c" + integrity sha512-AS9ZyA1nRpPGe85MJIhPw73eXeOWt18NJ7C9lu8EcoiHH7HOv2aYzou9m7fme+hesv/ISsomXfhbOrM6Il94bg== dependencies: chalk "^3.0.0" ci-info "^2.0.0" From 8959a872faf1402b7e35e36644370a929f0b5249 Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Thu, 9 Jan 2020 17:40:21 -0400 Subject: [PATCH 08/30] docs: add utilities section to layout docs + update docs links to bootstrap docs v4.4 (#4583) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jacob Müller --- docs/markdown/intro/README.md | 5 +- docs/markdown/misc/third-party/README.md | 4 +- .../reference/accessibility/README.md | 2 +- docs/markdown/reference/theming/README.md | 6 +-- .../reference/utility-classes/README.md | 46 +++++++++---------- docs/pages/index.vue | 9 ++-- src/components/form/README.md | 10 ++-- src/components/layout/README.md | 36 +++++++++++++++ 8 files changed, 82 insertions(+), 36 deletions(-) diff --git a/docs/markdown/intro/README.md b/docs/markdown/intro/README.md index 94cf146ef0a..27c79fa6f01 100644 --- a/docs/markdown/intro/README.md +++ b/docs/markdown/intro/README.md @@ -36,6 +36,8 @@ some good starting points would be: - [Vue Guide](https://vuejs.org/v2/guide/) - [Vue API](https://vuejs.org/v2/api/) - [Bootstrap v{{bootstrapVersionMinor}} documentation](https://getbootstrap.com/) +- [Vue loader scoped CSS](https://vue-loader.vuejs.org/guide/scoped-css.html), if using scoped styles + in SFC (Single File Component) `.vue` files ## Documentation information @@ -46,7 +48,8 @@ and more. You can find information on these classes in the [Utility Classes](/docs/reference/utility-classes) reference section. Many of the examples in this documentation are _live_ and can be edited in-place for an enhanced -learning experience. +learning experience (note some examples may not work in IE11 due to use of ES6 JavaScript code in +the `