Skip to content

Commit

Permalink
chore: release v2.19.0 (#6026)
Browse files Browse the repository at this point in the history
* chore(deps): update devdependency eslint-plugin-standard to ^4.0.2 (#5944)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency eslint-config-standard to v15 (#5945)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency terser to ^5.3.8 (#5948)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore:fix missing ` in carousel documentation (#5951)

* chore(deps): update devdependency sass-loader to ^10.0.4 (#5952)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): update devdependency postcss to ^8.1.3 (#5953)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update all non-major dependencies to ^26.6.1 (#5956)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: update contributors

* chore(deps): update devdependency @testing-library/jest-dom to ^5.11.5 (#5957)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update all non-major dependencies (#5959)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(b-avatar): prevent avatar from being squished (#5963)

Closes #5962

* chore(deps): update devdependency vue-router to ^3.4.8 (#5966)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency lint-staged to ^10.5.0 (#5967)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency eslint to ^7.12.1 (#5969)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update README.md (#5971)

Spelling correction

* chore(deps): update devdependency eslint-config-prettier to ^6.15.0 (#5972)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency eslint-config-standard to ^15.0.1 (#5974)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* feat(b-media): improve aside right handling (#5965)

* fix(b-media): removed utility classes and added style

* fix(b-media): removed utility classes and added style

* fix(b-media): Changes according to suggestions for media

* feat(b-media): added prop desc in component's package.json

* feat(b-media-asign): advanced `right` handling

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): update devdependency execa to ^4.1.0 (#5976)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(b-avatar): badge `z-index` handling (#5975)

* chore(deps): update devdependency bootstrap-icons to ^1.1.0 (#5977)

* chore(deps): update devdependency bootstrap-icons to ^1.1.0

* Update .bundlewatch.config.json

* Regenerate icon files

* Update README.md

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(docs): replace `<b-input>` with `<b-form-input>` (#5978)

* chore(docs): replace b-input with b-form-input

* chore(docs): fix single root element in example

* chore(docs): fix single root element in example

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): update devdependency eslint-config-standard to v16 (#5979)

* chore(deps): update devdependency eslint-config-standard to v16

* chore(lint): fix errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): update devdependency postcss-cli to ^8.2.0 (#5983)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Switched comments (#5984)

* chore(deps): update devdependency eslint-config-standard to ^16.0.1 (#5987)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency lint-staged to ^10.5.1 (#5989)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency @vue/test-utils to ^1.1.1 (#5991)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency rollup to ^2.33.0 (#5992)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: migrate from `node-sass` to `sass` (Dart Sass) (#5990)

* chore(deps): update devdependency node-sass to v5

* chore: migrate from `node-sass` to `sass` (Dart Sass)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps): update devdependency rollup to ^2.33.1 (#5993)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency sass-loader to ^10.0.5 (#5996)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency babel-jest to ^26.6.2 (#5997)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency jest to ^26.6.2 (#5999)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(docs): add gull & dexam themes (#5995)

* GUll vue added in themes section

* dexam landing pages added in doc themes section

* update gull and dexam themes details

* typo fix in gull yaml file

* fix description

* update gull description

* update dexam description

* layout break fix

* Update themes

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(ci): update Node.js versions (#6001)

* chore(ci): update Node.js versions

* Update build.yml

* Update test.yml

* chore: add `SECURITY.md` (#6002)

* chore(ci): add CodeQL action (#6003)

* chore(ci): add CodeQL action

* fix(ci): move action to workflows dir

* chore(ci): move to Dependabot for all dependency updates (#6004)

* chore(deps-dev): bump @babel/standalone from 7.12.4 to 7.12.5 (#6010)

Bumps [@babel/standalone](https://github.com/babel/babel/tree/HEAD/packages/babel-standalone) from 7.12.4 to 7.12.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.5/packages/babel-standalone)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump babel-jest from 26.6.2 to 26.6.3 (#6011)

Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 26.6.2 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.6.3/packages/babel-jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps-dev): bump jest from 26.6.2 to 26.6.3 (#6012)

Bumps [jest](https://github.com/facebook/jest) from 26.6.2 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](jestjs/jest@v26.6.2...v26.6.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(docs): improve component name formatting (#6014)

* fix(b-form-checkbox/b-form-radio): `chnage` event timing (#6008)

* fix(b-form-group): accessibility when `label-for` prop not set (#6006)

* chore: unify interval/timeout handling (#6015)

* fix(b-dropdown): click handling on close (closes #5982) (#6009)

* fix(b-dropdown): click handling on close

* Update dropdown.js

* Update dropdown.js

* Update dropdown.js

* Update dropdown.js

* Update dropdown.js

* Update dropdown.js

* Update dropdown.js

* Update dropdown.js

* Update dropdown.js

* Update dropdown.js

* chore(deps-dev): bump sass from 1.28.0 to 1.29.0 (#6018)

Bumps [sass](https://github.com/sass/dart-sass) from 1.28.0 to 1.29.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](sass/dart-sass@1.28.0...1.29.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump marked from 1.2.2 to 1.2.3 (#6017)

Bumps [marked](https://github.com/markedjs/marked) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](markedjs/marked@v1.2.2...v1.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps-dev): bump @babel/standalone from 7.12.5 to 7.12.6 (#6016)

Bumps [@babel/standalone](https://github.com/babel/babel/tree/HEAD/packages/babel-standalone) from 7.12.5 to 7.12.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.6/packages/babel-standalone)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(docs): add another `pageOptions` setting example (#6019)

* chore(docs): add another `pageOptions` example in table component doc

* chore(docs): correct a sentence in table component doc

chore(docs): correct a sentence in table component doc

* Update README.md

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore(deps-dev): bump postcss from 8.1.4 to 8.1.6 (#6021)

Bumps [postcss](https://github.com/postcss/postcss) from 8.1.4 to 8.1.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/master/CHANGELOG.md)
- [Commits](postcss/postcss@8.1.4...8.1.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump vue-router from 3.4.8 to 3.4.9 (#6022)

Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.8 to 3.4.9.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](vuejs/vue-router@v3.4.8...v3.4.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* feat(config): improved defaults handling (closes #4507, #5138, #5291, #5459, #5958) (#5981)

* specify support of sidebar + array

* Initial Concept

* remove test code

* Remove `config-default.js`

* Update componentdoc.vue

* Update bootstrap-vue.js

* feat(config): code improvements

* fix: fallback config handling for date/time components

* update calendar.js

* feat(config): make all props configurable [WIP]

* Update aspect.js

* Update avatar-group.js

* Update avatar.js

* Update form-datepicker.js

* fix(config): default value handling in `makePropsConfigurable()`

* Update config.spec.js

* Update config.js

* Update componentdoc.vue

* Apply `makePropsConfigurable` to all components

* Update object.js

* Update object.js

* fix linting errors

* Revert "fix linting errors"

This reverts commit 786886f.

* Update form-input.js

* Update form-spinbutton.js

* fix(form-file): `fileNameFormatter` prop handling

* fix: property `validator` context

* Update form-tags.js

* Update pagination-nav.js

* Update toast.js

* Update button.js

* Update calendar.js

* Update bv-modal.js

* Update form-size.js

* Update mixin-selectable.js

* Update mixin-tfoot.js

* Update mixin-thead.js

* Update bv-toast.js

* Update popover.js

* Update tooltip.js

* Update tbody.js

* Update td.js

* Update tfoot.js

* Update thead.js

* Update tr.js

* Update pagination.js

* Update button-group.js

* Update button.js

* Update form-datepicker.js

* Update form-timepicker.js

* Update time.js

* Update button-toolbar.js

* Update calendar.js

* Update form-file.js

* Update form-rating.js

* Update mixin-options.js

* Update form-spinbutton.js

* Update form-tags.js

* Update nav-item.js

* Update mixin-busy.js

* Update mixin-caption.js

* Update mixin-empty.js

* Update mixin-filtering.js

* Update mixin-items.js

* Update mixin-pagination.js

* Update mixin-provider.js

* Update mixin-sorting.js

* Update mixin-stacked.js

* Update mixin-table-renderer.js

* Update mixin-tbody-row.js

* Update icon.js

* Update iconstack.js

* Update card.js

* Update dropdown.js

* Update form-options.js

* Update form-radio-check-group.js

* Update form-radio-check.js

* Update form-text.js

* Update form.js

* Update mixin-filtering.js

* Update pagination.js

* Update form-text.js

* Update modal.js

* chore: remove redundant istanbul ignores

* fix: add back some istanbul ignore

* fix(config): ensure props from mixins are configurabel via component config

* fix: resuse `form-plain` mixin everywhere

* feat: improve form control mixins

* Update README.md

* Update componentdoc.vue

* Update SECURITY.md

* Update README.md

* Update breadcrumb.js

* fix: size prop default value

* Update input-group.js

* fix(config): `makePropsConfigurable()` usage without key

* Update config.js

* Update config.js

* Update button-close.js

* Update toaster.js

* Update calendar.js

* Update carousel.js

* Update dropdown.js

* Update dropdown.spec.js

* Update img-lazy.js

* Update config.spec.js

* Update avatar.js

* feat: further improve shared form props usage

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>

* chore: bump version to v2.19.0 (#6025)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: 82amp <46736702+82amp@users.noreply.github.com>
Co-authored-by: Tal Koren <talkor@users.noreply.github.com>
Co-authored-by: criskgl <cris.kgl@gmail.com>
Co-authored-by: JD <47495003+jd-0001@users.noreply.github.com>
Co-authored-by: Ctibor Laky <luckylooke@gmail.com>
Co-authored-by: naime-hossain <hossain.naime@yahoo.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joris Lacance <tombodys@gmail.com>
Co-authored-by: Hiws <hiws@live.dk>
  • Loading branch information
12 people committed Nov 8, 2020
1 parent eca6831 commit fb4a4b7
Show file tree
Hide file tree
Showing 207 changed files with 9,266 additions and 7,491 deletions.
2 changes: 1 addition & 1 deletion .bundlewatch.config.json
Expand Up @@ -2,7 +2,7 @@
"files": [
{
"path": "./dist/bootstrap-vue-icons.js",
"maxSize": "110 kB"
"maxSize": "115 kB"
},
{
"path": "./dist/bootstrap-vue-icons.min.js",
Expand Down
30 changes: 30 additions & 0 deletions .github/dependabot.yml
@@ -1,6 +1,36 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
day: tuesday
time: "12:00"
timezone: Europe/Berlin
reviewers:
- jackmu95
labels:
- "Type: CI"
- "Type: Dependencies"

- package-ecosystem: npm
directory: "/"
schedule:
interval: "daily"
time: "12:00"
timezone: Europe/Berlin
ignore:
- dependency-name: "bootstrap"
versions: [">=5.0.0"]
- dependency-name: "highlight.js"
versions: [">=10.0.0"]
- dependency-name: "prettier"
versions: [">1.14.3"]
- dependency-name: "@vue/test-utils"
versions: [">=2.0.0"]
reviewers:
- jackmu95
labels:
- "Type: Dependencies"
versioning-strategy: increase
rebase-strategy: disabled
22 changes: 0 additions & 22 deletions .github/renovate.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [10, 12]
node: [10, 12, 14]

steps:
- name: Clone repository
Expand Down Expand Up @@ -50,6 +50,6 @@ jobs:

- name: BundleWatch
run: yarn run bundlewatch
if: matrix.node == '12'
if: matrix.node == '14'
env:
BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
58 changes: 58 additions & 0 deletions .github/workflows/codeql.yml
@@ -0,0 +1,58 @@
name: "CodeQL"

on:
push:
pull_request:
schedule:
- cron: "0 2 * * 5"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: ["javascript"]

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file
# By default, queries listed here will override any specified in a config file
# Prefix the list here with "+" to use these queries and those in the config file
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java)
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines and
# modify them (or add more) to build your code if your project uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [12]
node: [14]

steps:
- name: Clone repository
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [12]
node: [14]

steps:
- name: Clone repository
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [10, 12]
node: [10, 12, 14]

steps:
- name: Clone repository
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:

- name: CodeCov
uses: codecov/codecov-action@v1
if: matrix.node == '12'
if: matrix.node == '14'
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
44 changes: 44 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,48 @@ 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.19.0"></a>

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

Released: 2020-11-08

### Features v2.19.0

- **b-media:** improve aside right handling
([#5965](https://github.com/bootstrap-vue/bootstrap-vue/issues/5965))
([49a3f00](https://github.com/bootstrap-vue/bootstrap-vue/commit/49a3f00420bf9958deda3a6be0ccb76cc3ea06ba))
- **config:** improved defaults handling (closes
[#4507](https://github.com/bootstrap-vue/bootstrap-vue/issues/4507),
[#5138](https://github.com/bootstrap-vue/bootstrap-vue/issues/5138),
[#5291](https://github.com/bootstrap-vue/bootstrap-vue/issues/5291),
[#5459](https://github.com/bootstrap-vue/bootstrap-vue/issues/5459),
[#5958](https://github.com/bootstrap-vue/bootstrap-vue/issues/5958))
([#5981](https://github.com/bootstrap-vue/bootstrap-vue/issues/5981))
([7ea0cc4](https://github.com/bootstrap-vue/bootstrap-vue/commit/7ea0cc4a16d27b179eca47d351eaa9fe6fdfd56e))

### Bug Fixes v2.19.0

- **b-avatar:** badge `z-index` handling
([#5975](https://github.com/bootstrap-vue/bootstrap-vue/issues/5975))
([ecb33bd](https://github.com/bootstrap-vue/bootstrap-vue/commit/ecb33bdb510832096bc5a5196a11c97388bf6411))
- **b-avatar:** prevent avatar from being squished
([#5963](https://github.com/bootstrap-vue/bootstrap-vue/issues/5963))
([b3946ed](https://github.com/bootstrap-vue/bootstrap-vue/commit/b3946ed7a7b327fb7c66b44caaf122460fc24005)),
closes [#5962](https://github.com/bootstrap-vue/bootstrap-vue/issues/5962)
- **b-dropdown:** click handling on close (closes
[#5982](https://github.com/bootstrap-vue/bootstrap-vue/issues/5982))
([#6009](https://github.com/bootstrap-vue/bootstrap-vue/issues/6009))
([cf7a1cb](https://github.com/bootstrap-vue/bootstrap-vue/commit/cf7a1cb017e2263939a64e300abbbbac35c121d4))
- **b-form-checkbox/b-form-radio:** `change` event timing
([#6008](https://github.com/bootstrap-vue/bootstrap-vue/issues/6008))
([37ec7e9](https://github.com/bootstrap-vue/bootstrap-vue/commit/37ec7e9991b66af51ff81420da8eb88928615f9d))
- **b-form-group:** accessibility when `label-for` prop not set
([#6006](https://github.com/bootstrap-vue/bootstrap-vue/issues/6006))
([16f777b](https://github.com/bootstrap-vue/bootstrap-vue/commit/16f777b14bdcf9ebb6fae0325d355c7f5272bd98))

<a name="2.18.1"></a>

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

Released: 2020-10-21
Expand All @@ -22,6 +64,8 @@ Released: 2020-10-21
([#5934](https://github.com/bootstrap-vue/bootstrap-vue/issues/5934))
([8a367b6](https://github.com/bootstrap-vue/bootstrap-vue/commit/8a367b6296b0aa9700f67633fd60fb351e2f7373))

<a name="2.18.0"></a>

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

Released: 2020-10-19
Expand Down
20 changes: 20 additions & 0 deletions SECURITY.md
@@ -0,0 +1,20 @@
# Security Policy

## Supported Versions

| Version | Supported |
| ------- | ------------------ |
| 2.x | :white_check_mark: |
| 1.x | :x: |
| < 1.0 | :x: |

## Reporting a Vulnerability

The BootstrapVue team takes security issues very seriously. We appreciate your efforts to
responsibly disclose your findings, and will make every effort to acknowledge your contributions.

To report a security issue, email
[bootstrapvue.js@gmail.com](mailto:security@bootstrapvue.js@gmail.com) and include the word
"SECURITY" in the subject line.

We'll endeavor to respond quickly, and will keep you updated throughout the process.
21 changes: 10 additions & 11 deletions docs/components/componentdoc.vue
Expand Up @@ -85,6 +85,11 @@
<anchored-heading :id="`comp-ref-${componentName}-props`" level="4" class="mb-3">
Properties
</anchored-heading>

<p>
All property default values are <b-link href="/docs/reference/settings">globally configurable</b-link>.
</p>

<b-table
:items="propsItems"
:fields="propsFields"
Expand All @@ -98,7 +103,6 @@
<template #cell(prop)="{ value, item }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code><br>
<b-badge v-if="item.required" variant="info">Required</b-badge>
<b-badge v-if="item.settings" variant="dark" href="/docs/reference/settings" title="Configurable in settings">Settings</b-badge>
<b-badge v-if="item.version" variant="secondary">v{{ item.version }}+</b-badge>
<b-badge v-if="item.isVModel" variant="primary">v-model</b-badge>
<b-badge v-if="item.xss" variant="warning">Use with caution</b-badge>
Expand Down Expand Up @@ -298,8 +302,7 @@
<script>
import Vue from 'vue'
import commonProps from '../common-props.json'
import { defaultConfig } from '../content'
import { kebabCase } from '../utils'
import { getComponentName, getCleanComponentName, kebabCase } from '../utils'
import AnchoredHeading from './anchored-heading'
export default {
Expand Down Expand Up @@ -425,7 +428,6 @@ export default {
propsItems() {
const props = this.componentProps
const propsMetaObj = this.componentPropsMetaObj
const componentSettings = defaultConfig[this.componentOptions.name] || {}
return Object.keys(props).map(prop => {
const p = props[prop]
Expand Down Expand Up @@ -457,16 +459,13 @@ export default {
? ''
: String(JSON.stringify(defaultValue, undefined, 1)).replace(/"/g, "'")
const settings = Object.prototype.hasOwnProperty.call(componentSettings, prop)
return {
prop: kebabCase(prop),
type,
defaultValue,
required: p.required || false,
description: meta.description || '',
version: meta.version || '',
settings,
xss: /[a-z]Html$/.test(prop),
isVModel: this.componentVModel && this.componentVModel.prop === prop,
deprecated: p.deprecated || false,
Expand All @@ -478,13 +477,13 @@ export default {
slotsItems() {
// We use object spread here so that `_showDetails` doesn't
// mutate the original array objects
return this.slots ? this.slots.map(s => ({ ...s })) : []
return this.slots ? this.slots.map(slot => ({ ...slot })) : []
},
componentName() {
return kebabCase(this.component).replace('{', '-{')
return getComponentName(this.component)
},
componentNameClean() {
return this.componentName.replace('{', '').replace('}', '')
return getCleanComponentName(this.component)
},
tag() {
return `<${this.componentName}>`
Expand Down Expand Up @@ -523,7 +522,7 @@ ul.component-ref-mini-toc:empty {
display: none;
}
/deep/ .word-wrap-normal {
>>> .word-wrap-normal {
white-space: normal !important;
word-break: normal !important;
overflow-wrap: normal !important;
Expand Down
2 changes: 1 addition & 1 deletion docs/components/contributors.vue
Expand Up @@ -129,7 +129,7 @@ export default {
cb(this.processOcNodes(response.nodes || []), null)
} else {
// We just return an empty node list rather than spew an error
// eslint-disable-next-line standard/no-callback-literal
// eslint-disable-next-line node/no-callback-literal
cb([], xhr.statusText)
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/components/icons-table.vue
Expand Up @@ -118,16 +118,16 @@ export default {
position: relative;
}
#bv-icons-table-result /deep/ .bi {
#bv-icons-table-result >>> .bi {
font-size: 1.5rem;
}
.form-group /deep/ .form-text {
.form-group >>> .form-text {
text-align: right;
}
// Icon zoom on hover
.flip-icon-list-icon /deep/ .card {
.flip-icon-list-icon >>> .card {
.bi {
transition: transform 0.15s;
}
Expand Down

1 comment on commit fb4a4b7

@vercel
Copy link

@vercel vercel bot commented on fb4a4b7 Nov 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.