Skip to content
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

chore: release 2.0.0 stable #3862

Merged
merged 95 commits into from
Sep 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
c3e1f5c
chore(deps): update devdependency eslint-plugin-jest to ^22.15.1 (#3861)
renovate[bot] Aug 12, 2019
1737072
chore(docs): minor updates to the table docs (#3860)
tmorehouse Aug 13, 2019
3828f59
feat(build): remove deprecated `es/` build (#3604)
tmorehouse Aug 13, 2019
bea49d4
feat(tooltip/popover): remove SCSS deprecations (#3869)
jacobmllr95 Aug 13, 2019
90c299c
feat(modal): remove BvModalEvent deprecations (#3864)
jacobmllr95 Aug 13, 2019
21fab35
feat(b-nav, b-nav-item-dropdown): remove deprecated slot and props (#…
jacobmllr95 Aug 13, 2019
29eb8b1
feat(b-dropdown): remove deprecated slot `text` (#3868)
jacobmllr95 Aug 13, 2019
249efd9
feat(table): remove deprecated slot names, introduce new slot names (…
jacobmllr95 Aug 13, 2019
0edac49
feat(tabs): remove deprecations (#3863)
jacobmllr95 Aug 13, 2019
8784f31
feat(tables): add support for custom header attributes (closes #2244)…
jonfunkhouser Aug 14, 2019
b301822
feat(b-form-group): remove deprecated prop `horizontal` and `breakpoi…
tmorehouse Aug 14, 2019
d46529c
feat(docs): remove new/enhances/changed badges (#3870)
jacobmllr95 Aug 14, 2019
6d382ed
feat(b-form-*) remove supplying a string to `state` prop (#3880)
tmorehouse Aug 14, 2019
dddfbed
chore: minor updates to form feedback components (#3881)
tmorehouse Aug 14, 2019
8f8b7aa
chore(docs): minor update to the table docs
tmorehouse Aug 14, 2019
4046a53
feat(b-nav): add card header support (#3883)
tmorehouse Aug 14, 2019
2302b31
fix(b-table, b-table-lite): render header when not always stacked mod…
tmorehouse Aug 14, 2019
cf3d4c6
chore(docs): add clarification to `order` and `order-{breakpoint}` se…
tmorehouse Aug 14, 2019
5d155ba
fix(v-b-toggle): don't override `role` if element has a `role` assign…
tmorehouse Aug 14, 2019
6b56a10
chore(table): minor code adjustments (#3890)
tmorehouse Aug 15, 2019
4488de7
chore(docs): fix type in progress example (#3895)
Coreusa Aug 15, 2019
4672cc2
chore(deps): update all non-major dependencies to ^24.9.0 (#3900)
renovate[bot] Aug 16, 2019
03536a5
feat(b-table): add `filter-debounce` prop for debouncing filter updat…
tmorehouse Aug 16, 2019
5492b38
feat(b-table): allow field definition properties `filterByFormatted` …
tmorehouse Aug 16, 2019
eddccc4
chore(docs): minor updates to the table docs (#3906)
tmorehouse Aug 17, 2019
2c8bd23
feat(b-carousel): add prop `no-wrap` for disabling wrapping to start/…
tmorehouse Aug 17, 2019
86c53dd
feat(b-table): add `selectAllRows()` and `clearSelected()` to thead/t…
tmorehouse Aug 17, 2019
611a507
fix(docs): broken Twitter link (#3912)
jacobmllr95 Aug 19, 2019
a392059
fix(b-table, b-table-lite): handle edge case where field slot returns…
tmorehouse Aug 20, 2019
8bf3a55
fix(b-modal): ensure non-prop attributes are transferred to the modal…
tmorehouse Aug 21, 2019
cf35177
chore(package.json): pin eslint to v6/
tmorehouse Aug 24, 2019
1fe3cc8
chore(renovate): ignore eslint dep
tmorehouse Aug 24, 2019
3de8dd1
chore(deps): update all non-major dependencies (#3922)
renovate[bot] Aug 24, 2019
3d60ca4
chore: fix linting for PR #3913 (#3939)
tmorehouse Aug 24, 2019
691f096
chore(deps): update devdependency eslint-config-standard to v14 (#3913)
renovate[bot] Aug 24, 2019
79f8c6b
chore(deps): update devdependency rollup to ^1.20.2 (#3940)
renovate[bot] Aug 25, 2019
dea8204
chore(docs): add more details about on-demand toast parenting (closes…
tmorehouse Aug 25, 2019
e5079dd
chore(docs): minor updates to dropdown docs (#3931)
tmorehouse Aug 25, 2019
7a3b350
chore(deps): update devdependency babel-eslint to ^10.0.3 (#3941)
renovate[bot] Aug 26, 2019
be3ac62
fix(b-form-textarea): handle initial auto-height when in modal, tabs,…
tmorehouse Aug 26, 2019
3adb393
chore(deps): update dependency @nuxt/opencollective to ^0.3.0 (#3946)
renovate[bot] Aug 27, 2019
4153e4e
chore(table): fix build warnings (#3947)
tmorehouse Aug 27, 2019
adf82a0
chore(deps): update devdependency rollup-plugin-commonjs to ^10.1.0 (…
renovate[bot] Aug 27, 2019
2efd38a
fix(changelog): correct typos (#3950)
jacobmllr95 Aug 27, 2019
5182821
chore(deps): update devdependency eslint-config-standard to ^14.1.0 (…
renovate[bot] Aug 27, 2019
5ca8087
chore(docs): minor updates (#3954)
tmorehouse Aug 28, 2019
5c4c89a
chore(docs): convert examples to use new `v-slot` syntax (#3955)
tmorehouse Aug 28, 2019
eebab43
feat(tooltip, popover): overall code refactor for better reactivity a…
tmorehouse Aug 28, 2019
de8b9b1
chore(deps): update devdependency nuxt to ^2.9.2 (#3957)
renovate[bot] Aug 28, 2019
0d1961c
chore(deps): update devdependency rollup to ^1.20.3 (#3959)
renovate[bot] Aug 28, 2019
77ad6b9
feat(b-modal): add scoped style support when portalled (non-static mo…
tmorehouse Aug 28, 2019
ca1b5de
feat(toast): add support for scoped styles (#3963)
tmorehouse Aug 28, 2019
e6acc3a
chore(docs): minor updates to the carousel docs (#3964)
tmorehouse Aug 28, 2019
78e5eb8
chore(docs): add links to the router-link reference section to all co…
tmorehouse Aug 28, 2019
7765e2f
chore: improve scoped styles `scopeId` handling (#3967)
jacobmllr95 Aug 29, 2019
9437c25
chore(deps): update devdependency eslint-plugin-node to ^9.2.0 (#3970)
renovate[bot] Aug 29, 2019
ee13491
chore(deps): update devdependency codesandbox to ^2.1.10 (#3972)
renovate[bot] Aug 29, 2019
c4442f4
feat(b-table): new sorting icons using SVG, plus option to place icon…
tmorehouse Aug 29, 2019
a97507a
chore(deps): update devdependency eslint-plugin-jest to ^22.16.0 (#3975)
renovate[bot] Aug 29, 2019
f3ec2a1
chore: remove default export from directives and components (#3974)
tmorehouse Aug 29, 2019
62fb0b6
fix(b-link): only add the `nativeOn` property to componentData when r…
tmorehouse Aug 29, 2019
249ccfa
feat(b-img-lazy): switch IntersectionObserver to use private `v-b-vis…
tmorehouse Aug 30, 2019
3290594
chore(docs): minor adjustments to table sort icon customization
tmorehouse Aug 30, 2019
7418f08
chore(deps): update devdependency sass-loader to v8 (#3971)
renovate[bot] Aug 30, 2019
6f2827e
feat(modal): add prop for auto focusing one of the built in-buttons o…
tmorehouse Aug 30, 2019
360db8d
chore(deps): update devdependency vue-router to ^3.1.3 (#3981)
renovate[bot] Aug 30, 2019
df91792
chore(docs): add an advanced usage section and example for modal mess…
tmorehouse Aug 30, 2019
8c667e0
chore(deps): update devdependency eslint to ^6.3.0 (#3985)
renovate[bot] Aug 30, 2019
487c592
chore(docs): add notes to table docs on slot name limitations when us…
tmorehouse Aug 30, 2019
fca7bd5
feat(b-table, b-table-lite): switch slot name syntax to use round bra…
tmorehouse Aug 30, 2019
253b4f6
feat(table): add `no-border-collapse` prop and SCSS (#3987)
tmorehouse Aug 31, 2019
ae8ce78
feat(b-pagination): if number of pages changes, try and keep current …
tmorehouse Aug 31, 2019
444d8b0
chore(docs): remove duplicate IDs from dropdown examples (#3991)
tmorehouse Aug 31, 2019
f6f73c7
feat(b-table, b-table-lite): use `aria-details` rather than `aria-des…
tmorehouse Aug 31, 2019
e05cc0d
chore(pagination): change `role="none presentation"` to `role="presen…
tmorehouse Aug 31, 2019
484f012
chore(deps): update devdependency cross-env to ^5.2.1 (#3995)
renovate[bot] Aug 31, 2019
464d257
feat(dropdown): add `role=presentation` to `<li>` elements for improv…
tmorehouse Sep 1, 2019
dfabe51
docs(b-nav): add example markup for using vue-router/nuxt-child (clos…
tmorehouse Sep 3, 2019
3aa78fd
chore(deps): update devdependency eslint-config-prettier to ^6.2.0 (#…
renovate[bot] Sep 3, 2019
332b79f
fix(modal): fix scroll to top issue when modal has `no-fade` set (#4004)
tmorehouse Sep 3, 2019
113b802
chore(docs): better ARIA compliant `b-nav` + `b-card` examples (#4006)
tmorehouse Sep 3, 2019
5855330
docs(router-links): add more details to `active-class` and `exact-act…
tmorehouse Sep 4, 2019
78c604c
perf(b-table): cache cell slot names each render cycle (addresses #40…
tmorehouse Sep 4, 2019
acb34e7
chore(docs): minor adjustments to the table docs (#4016)
tmorehouse Sep 4, 2019
10ff04a
chore(deps): update devdependency eslint-plugin-node to v10 (#4019)
renovate[bot] Sep 5, 2019
64735a3
chore: tooltip/popover directives execute title/content if function b…
tmorehouse Sep 5, 2019
6aa16b8
chore(deps): update devdependency eslint-plugin-jest to ^22.17.0 (#4023)
renovate[bot] Sep 5, 2019
2012d07
chore(deps): update devdependency @nuxtjs/pwa to ^3.0.0-beta.17 (#4026)
renovate[bot] Sep 5, 2019
c7cb16f
fix(b-table, b-table-lite): use `:key` for row details based on the p…
tmorehouse Sep 5, 2019
81efb89
fix(b-dropdown-*): ensure class bindings are placed on root element f…
tmorehouse Sep 5, 2019
cbeeef9
feat(b-table, b-table-lite): add new scoped slot `custom-foot` to all…
tmorehouse Sep 5, 2019
4b8a8c7
fix(docs): hading before margin (#4029)
jacobmllr95 Sep 6, 2019
efe84a1
Revert "chore(deps): update devdependency @nuxtjs/pwa to ^3.0.0-beta.…
tmorehouse Sep 6, 2019
72ceef8
chore: coverage fixes for babel dep upgrades (#4034)
tmorehouse Sep 6, 2019
5930f04
chore: bump version and update changelog (#4017)
tmorehouse Sep 7, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
80 changes: 41 additions & 39 deletions CHANGELOG-OLD.md

Large diffs are not rendered by default.

292 changes: 277 additions & 15 deletions CHANGELOG.md

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/assets/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@
margin-top: 1rem;
}

> h2,
> h3,
> h4 {
&[id]:before {
height: 1rem;
margin-top: -1rem;
}
}

> h4,
> h5 {
margin-top: 1rem;
Expand Down
20 changes: 10 additions & 10 deletions docs/components/componentdoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@
bordered
striped
>
<template slot="[prop]" slot-scope="{ value, item }">
<template v-slot:cell(prop)="{ 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 v-slot:cell(defaultValue)="{ value }">
<code v-if="value" class="notranslate" translate="no">{{ value }}</code>
</template>
<template slot="row-details" slot-scope="{ item }">
<template v-slot:row-details="{ item }">
<p v-if="typeof item.deprecated === 'string'" class="mb-1 small">
{{ item.deprecated }}
</p>
Expand All @@ -82,10 +82,10 @@
bordered
striped
>
<template slot="[prop]" slot-scope="{ value }">
<template v-slot:cell(prop)="{ value }">
<code class="notranslate" translate="no">{{ kebabCase(value) }}</code>
</template>
<template slot="[event]" slot-scope="{ value }">
<template v-slot:cell(event)="{ value }">
<code class="notranslate" translate="no">{{ value }}</code>
</template>
</b-table>
Expand All @@ -105,7 +105,7 @@
bordered
striped
>
<template slot="[name]" slot-scope="{ value }">
<template v-slot:cell(name)="{ value }">
<code class="text-nowrap nostranslate" translate="no">{{ value }}</code>
</template>
</b-table>
Expand All @@ -124,10 +124,10 @@
bordered
striped
>
<template slot="[event]" slot-scope="{ value }">
<template v-slot:cell(event)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[args]" slot-scope="{ value, item }">
<template v-slot:cell(args)="{ value, item }">
<p
v-for="arg in value"
:key="`event-${item.event}-${arg.arg ? arg.arg : 'none'}`"
Expand Down Expand Up @@ -159,10 +159,10 @@
bordered
striped
>
<template slot="[event]" slot-scope="{ value }">
<template v-slot:cell(event)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[args]" slot-scope="{ value, item }">
<template v-slot:cell(args)="{ value, item }">
<p
v-for="arg in value"
:key="`event-${item.event}-${arg.arg ? arg.arg : 'none'}`"
Expand Down
47 changes: 15 additions & 32 deletions docs/components/importdoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</anchored-heading>

<p>
<b-badge variant="info" class="small">CHANGED in 2.0.0-rc.22</b-badge> You can
import individual components into your project via the following named exports:
You can import individual components into your project via the following named
exports:
</p>

<b-table
Expand All @@ -22,13 +22,13 @@
bordered
striped
>
<template slot="[component]" slot-scope="{ value }">
<template v-slot:cell(component)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[namedExport]" slot-scope="{ value }">
<template v-slot:cell(namedExport)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[importPath]" slot-scope="{ value }">
<template v-slot:cell(importPath)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
</b-table>
Expand All @@ -45,8 +45,8 @@
</anchored-heading>

<p>
<b-badge variant="info" class="small">CHANGED in 2.0.0-rc.22 </b-badge> You can
import individual directives into your project via the following named exports:
You can import individual directives into your project via the following named
exports:
</p>

<b-table
Expand All @@ -57,13 +57,13 @@
bordered
striped
>
<template slot="[directive]" slot-scope="{ value }">
<template v-slot:cell(directive)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[namedExport]" slot-scope="{ value }">
<template v-slot:cell(namedExport)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[importPath]" slot-scope="{ value }">
<template v-slot:cell(importPath)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
</b-table>
Expand All @@ -78,11 +78,6 @@
Importing as a Vue.js plugin
</anchored-heading>

<p>
<b-badge variant="info" class="small">CHANGED in 2.0.0-rc.22</b-badge> Importing plugins
has been simplified.
</p>

<p v-if="isComponentRoute">
This plugin includes all of the above listed individual
components<span v-if="directives.length"> and directives</span>.
Expand All @@ -102,10 +97,10 @@
bordered
striped
>
<template slot="[namedExport]" slot-scope="{ value }">
<template v-slot:cell(namedExport)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
<template slot="[importPath]" slot-scope="{ value }">
<template v-slot:cell(importPath)="{ value }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code>
</template>
</b-table>
Expand All @@ -122,19 +117,6 @@
<p><strong>Example:</strong></p>
<pre class="hljs language-js text-monospace p-2 notranslate" translate="no">{{ pluginImportCode }}</pre>
</article>

<aside class="alert alert-warning my-4">
<p class="mb-0">
<b-badge variant="warning" tag="strong">Deprecation Warning as of v2.0.0-rc.22:</b-badge>
Importing components, directives and plugins from
<code class="notranslate" translate="no">bootstrap-vue/es/*</code>
has been deprecated. All components, directives and plugins are now available as top-level named
exports in the <code class="notranslate" translate="no">ESM</code> and
<code class="notranslate" translate="no">CommonJS</code> builds. The
<code class="notranslate" translate="no">es/</code> directory build will be removed in a future
release.
</p>
</aside>
</section>
</template>

Expand All @@ -144,6 +126,8 @@ import kebabCase from 'lodash/kebabCase'
import startCase from 'lodash/startCase'
import AnchoredHeading from './anchored-heading'

const importPath = 'bootstrap-vue'

export default {
name: 'BDVImportdoc',
components: { AnchoredHeading },
Expand Down Expand Up @@ -212,9 +196,8 @@ export default {
},
directiveImportCode() {
const firstDirective = this.directives[0]
const firstDirectiveImport = this.directiveImports[0]
return [
`import { ${firstDirective} } from '${firstDirectiveImport.importPath}'`,
`import { ${firstDirective} } from '${importPath}'`,
"// Note: Vue automatically prefixes the directive name with 'v-'",
`Vue.directive('${this.directiveName(firstDirective)}', ${firstDirective})`
].join('\n')
Expand Down
59 changes: 7 additions & 52 deletions docs/markdown/intro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ Guide for full details on setting up aliases for [webpack](https://webpack.js.or

## Tree shaking with module bundlers

<span class="badge badge-info small">SIMPLIFIED in 2.0.0-rc.20</span>

When using a module bundler you can optionally import only specific components groups (plugins),
components and/or directives.

Expand All @@ -208,8 +206,6 @@ components and/or directives.

### Component groups and directives as Vue plugins

<span class="badge badge-info small">CHANGED in 2.0.0-rc.22</span>

You can import component groups and directives as Vue plugins by importing from the `bootstrap-vue`:

<!-- eslint-disable import/first, import/no-duplicates -->
Expand Down Expand Up @@ -256,8 +252,6 @@ single `import` statement for optimal tree shaking.

### Individual components and directives

<span class="badge badge-info small">CHANGED in 2.0.0-rc.22</span>

If you would like to only pull in a specific component or set of components, you can do this by
directly importing those components.

Expand Down Expand Up @@ -304,8 +298,6 @@ object property shorthand (components only).

### Using BootstrapVue source code for smaller bundles

<span class="badge badge-info small">For advanced users</span>

When using module bundlers, they will usually default to using the `esm/` modular build, which has
been pre-transpiled by Babel for our
[supported browsers](https://github.com/bootstrap-vue/bootstrap-vue/blob/master/.browserslistrc).
Expand Down Expand Up @@ -439,14 +431,11 @@ import 'custom.scss'

### `transformAssetUrls` with Nuxt.js

<span class="badge badge-info small">NEW in v2.0.0-rc.22</span> The BootstrapVue Nuxt plugin module
will automatically add in the BootstrapVue specific [`transformAssetUrls`](/docs/reference/images)
image `src` prop configuration for you.
The BootstrapVue Nuxt plugin module will automatically add in the BootstrapVue specific
[`transformAssetUrls`](/docs/reference/images) image `src` prop configuration for you.

### Tree shaking with Nuxt.js

<span class="badge badge-info small">ENHANCED in 2.0.0-rc.20</span>

If you wish to reduce your production bundle size because you only use a subset of the available
BootstrapVue plugins, you can configure the list of BootstrapVue `componentPlugins` or
`directivePlugins` you want to globally install in your Nuxt.js project.
Expand All @@ -469,18 +458,17 @@ module.exports = {
}
```

<span class="badge badge-info small">NEW in 2.0.0-rc.20</span> There are two additional helper
plugins for providing the `$bvModal` and `$bvToast` injections (if you are not using the
`ModalPlugin` or `ToastPlugin` plugins) that are available in the `componentPlugins` option:
There are two additional helper plugins for providing the `$bvModal` and `$bvToast` injections (if
you are not using the `ModalPlugin` or `ToastPlugin` plugins) that are available in the
`componentPlugins` option:

- `BVModalPlugin` - provides the injection `$bvModal` for generating
[message boxes](/docs/components/modal#modal-message-boxes).
- `BVToastPlugin` - provides the injection `$bvToast` for generating
[on demand toasts](/docs/components/toast#toasts-on-demand).

<span class="badge badge-info small">NEW in 2.0.0-rc.20</span> You can also optionally import
individual components and/or directives, by configuring the list of BootstrapVue `components` or
`directives` you want to globally install in your Nuxt.js project.
You can also optionally import individual components and/or directives, by configuring the list of
BootstrapVue `components` or `directives` you want to globally install in your Nuxt.js project.

```js
module.exports = {
Expand Down Expand Up @@ -540,37 +528,6 @@ pre-transpiled versions, while setting it to `false` will always use `src/`. By
`usePretranspiled` is enabled in development mode only. You should not need to use this option as
the default is most optimal for performance.

## Vue CLI 2

<span class="badge badge-warning small">DEPRECATED</span> Use [Vue CLI 3](#vue-cli-3) instead.

BootstrapVue has two Vue CLI templates available:

- [webpack-simple](https://github.com/bootstrap-vue/webpack-simple): Quick scaffold for a proof of
concept or small app
- [webpack](https://github.com/bootstrap-vue/webpack): Larger, production ready template with more
options

```bash
# Ensure Vue CLI is installed and up to date
npm install -g vue-cli

# Initialize a BootstrapVue project in the directory 'my-project'
vue init bootstrap-vue/webpack-simple my-project

# Change into the directory
cd my-project

# Install dependencies
npm install

# Fire up the dev server with HMR
npm run dev
```

You can repeat the commands above replacing `bootstrap-vue/webpack-simple` with
`bootstrap-vue/webpack` for the webpack template.

## Vue CLI 3

Unlike V2, Vue CLI 3 doesn't use templates.
Expand Down Expand Up @@ -748,5 +705,3 @@ above for an example.
If you are using [VS Code](https://code.visualstudio.com/) as your text editor, BootstrapVue has
intellisense autocompletion for component attributes available when using the
[Vetur extension](https://marketplace.visualstudio.com/items?itemName=octref.vetur).

[Twitter: Vetur + BootstrapVue](https://twitter.com/AlexSashaRegan/status/912769997776158723)
6 changes: 0 additions & 6 deletions docs/markdown/misc/settings/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Settings

<span class="badge badge-info small">NEW in 2.0.0-rc.16</span>

> BootstrapVue provides a few options for customizing component default values, and more.

## Configuring defaults
Expand All @@ -22,16 +20,12 @@ stored under the `formControls` property, while component specific defaults are
defined in the default configuration can be overridden. Attempting to set a config property that is
not defined in the default will generate a console warning.

The `formControls` entry was introduced in <span class="badge badge-info small">v2.0.0-rc.28</span>.

```json
{{ defaultConfig }}
```

### Setting new configuration values

<span class="badge badge-info small">ENHANCED in v2.0.0-rc.22</span>

When you `Vue.use(BootstrapVue)`, you can optionally pass a configuration object which specifies new
values to replace the default values. For example if you wish to define new breakpoint names (which
will generate appropriate properties on components such as `<b-col>` and `<b-form-group>`), so that
Expand Down
3 changes: 1 addition & 2 deletions docs/markdown/reference/accessibility/meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"title": "Accessibility",
"description": "A brief overview of BootstrapVue's features and limitations for the creation of accessible content.",
"new": true
"description": "A brief overview of BootstrapVue's features and limitations for the creation of accessible content."
}
7 changes: 3 additions & 4 deletions docs/markdown/reference/images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module.exports = {
.use('vue-loader')
.loader('vue-loader')
.tap(options => {
options['transformAssetUrls'] = {
options.transformAssetUrls = {
img: 'src',
image: 'xlink:href',
'b-img': 'src',
Expand Down Expand Up @@ -117,9 +117,8 @@ module.exports = {
}
```

<span class="badge badge-info small">NEW in v2.0.0-rc.22</span> If using the
[BootstrapVue Nuxt](/docs#nuxtjs-module) module with Nuxt.js, the plugin module will automatically
add in the BootstrapVue specific `transformAssetUrls` configuration for you.
If using the [BootstrapVue Nuxt](/docs#nuxtjs-module) module with Nuxt.js, the plugin module will
automatically add in the BootstrapVue specific `transformAssetUrls` configuration for you.

## Using `require` to resolve image paths

Expand Down