diff --git a/CHANGELOG.md b/CHANGELOG.md index f5315c30845..f07a2d2983e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,40 @@ > [standard-version](https://github.com/conventional-changelog/standard-version) for commit > guidelines. + + +## [v2.3.0](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.2.2...v2.3.0) + +Released: 2020-01-24 + +### Features v2.3.0 + +- **b-button-close:** add `content` prop + ([#4574](https://github.com/bootstrap-vue/bootstrap-vue/issues/4574)) + ([7379c6d](https://github.com/bootstrap-vue/bootstrap-vue/commit/7379c6dd0bac76307720645080741b3b0ed7ed99)) +- **b-form-tags:** new option to specify input type (closes + [#4644](https://github.com/bootstrap-vue/bootstrap-vue/issues/4644)) + ([#4645](https://github.com/bootstrap-vue/bootstrap-vue/issues/4645)) + ([b899fac](https://github.com/bootstrap-vue/bootstrap-vue/commit/b899faceb4c1fd8562454fa93432e70d7113401b)) +- **b-pagination, b-pagination-nav:** add page button class props and option to show first/last page + numbers (closes [#4597](https://github.com/bootstrap-vue/bootstrap-vue/issues/4597), + [#4533](https://github.com/bootstrap-vue/bootstrap-vue/issues/4533)) + ([#4622](https://github.com/bootstrap-vue/bootstrap-vue/issues/4622)) + ([3a3ee1d](https://github.com/bootstrap-vue/bootstrap-vue/commit/3a3ee1dc9312a1a8c530a5ea42d1d239d5a24351)) +- **icons:** add stacking support + ([#4658](https://github.com/bootstrap-vue/bootstrap-vue/issues/4658)) + ([b185cdb](https://github.com/bootstrap-vue/bootstrap-vue/commit/b185cdb686ddddcde1b98585b1fbc48859fc541a)) + +### Bug Fixes v2.3.0 + +- **v-b-modal:** only unbind/rebind during componentUpdated hook if trigger element or modal ID + changes (closes [#4669](https://github.com/bootstrap-vue/bootstrap-vue/issues/4669)) + ([#4672](https://github.com/bootstrap-vue/bootstrap-vue/issues/4672)) + ([e53a05d](https://github.com/bootstrap-vue/bootstrap-vue/commit/e53a05d960a9de0ca9636ee31e0197e7e554ddbc)) +- **utils:** pass all Array/Object util shortcuts as functions, for handling late loaded polyfills + ([#4647](https://github.com/bootstrap-vue/bootstrap-vue/issues/4647)) + ([f584425](https://github.com/bootstrap-vue/bootstrap-vue/commit/f5844256a03d2f4b8006900419acfa2c5e3803c3)) + ## [v2.2.2](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.2.1...v2.2.2) diff --git a/docs/components/footer.vue b/docs/components/footer.vue index 4629d8eac34..b0a28c839b9 100644 --- a/docs/components/footer.vue +++ b/docs/components/footer.vue @@ -50,6 +50,7 @@ Currently v{{ version }}. Code licensed MIT. Docs generated with Nuxt.js + and proudly hosted on Netlify
@@ -80,6 +81,11 @@ export default { }, data() { return { version } + }, + computed: { + isNetlify() { + return Boolean(process.env.NETLIFY) + } } } diff --git a/docs/content/index.js b/docs/content/index.js index 1b9a489697f..ca7355537af 100644 --- a/docs/content/index.js +++ b/docs/content/index.js @@ -10,14 +10,21 @@ export const directives = importAll(directivesContext) const iconsContext = require.context('~/../src/icons', false, /package.json/) const icons = importAll(iconsContext) || {} -// Since there are over 300 icons, we only return the first BIcon component, plus one -// extra example icon component which we modify the icon name to be `BIcon{IconName}` +// Since there are over 300 icons, we only return `BIcon` and `BIconstack` component, plus +// one extra example icon component which we modify the icon name to be `BIcon{IconName}` // We sort the array to ensure `BIcon` appears first icons[''].components = icons[''].components - .sort((a, b) => (a < b ? -1 : a > b ? 1 : 0)) - .slice(0, 2) - .map(c => ({ ...c })) -icons[''].components[1].component = 'BIcon{IconName}' + .filter(c => c.component === 'BIconBlank' || !/^BIcon[A-Z]/.test(c.component)) + .sort((a, b) => (a.component < b.component ? -1 : a.component > b.component ? 1 : 0)) + .map(c => { + c = { ...c } + if (c.component === 'BIconBlank') { + c.component = 'BIcon{IconName}' + // We add a special `srcComponent` to grab the prop `$options` data from + c.srcComponent = 'BIconBlank' + } + return c + }) export { icons } const referenceContext = require.context('~/markdown/reference', true, /meta.json/) diff --git a/docs/markdown/intro/README.md b/docs/markdown/intro/README.md index 27c79fa6f01..e25b2a76ee6 100644 --- a/docs/markdown/intro/README.md +++ b/docs/markdown/intro/README.md @@ -36,8 +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 +- [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 diff --git a/docs/markdown/reference/starter-templates/README.md b/docs/markdown/reference/starter-templates/README.md index 25afc1ba153..51b8cfbcb5a 100644 --- a/docs/markdown/reference/starter-templates/README.md +++ b/docs/markdown/reference/starter-templates/README.md @@ -111,7 +111,7 @@ created when you run `yarn build`. ### Importing individual components and directives -As an example, you can import `