Skip to content

Commit 0fd8dff

Browse files
jacobmllr95renovate[bot]renovate-botHiwsJonathanGuberman
authored
chore: release v2.17.2 (#5808)
* chore(deps): update devdependency vue-jest to ^3.0.7 (#5770) Co-authored-by: Renovate Bot <bot@renovateapp.com> * fix(b-modal): solve body padding not being removed (#5771) * update dom.js * update * update modal-manager.js * chore(deps): update devdependency @nuxt/content to ^1.9.0 (#5773) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(deps): update devdependency rollup to ^2.27.0 (#5779) Co-authored-by: Renovate Bot <bot@renovateapp.com> * fix(b-table): properly handle empty included/excluded filter fields (closes #5775) (#5780) * fix(b-table): properly handle empty included/excluded filter fileds * Update table-filtering.spec.js * chore: lock `postcss` and `autoprefixer` for now (closes #5774) (#5782) * chore: lock `postcss` and `autoprefixer` for now * Update renovate.json * chore(deps): update devdependency lint-staged to ^10.4.0 (#5783) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore: code refactoring to separate constants from utils and better code sharing (#5772) * Initial improvements * Separate inspect from other utils * feat: code refactoring to reparte constants from utils and better code sharing * Update modal.js * Update form-group.spec.js * Update .bundlewatch.config.json * Update form-group.spec.js * chore: bump version to v2.17.1 (#5786) * chore(deps): update devdependency postcss to ^7.0.34 (#5788) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(deps): update devdependency rollup to ^2.27.1 (#5790) Co-authored-by: Renovate Bot <bot@renovateapp.com> * fix(b-tooltip, b-popover): fix `title` not being reset on hide (#5793) * fix bug * add test * update tooltip.spec.js * Update bv-tooltip.js * Update bv-tooltip.js Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com> * fix(b-nav-item-dropdown): `boundary` handling in `<b-navbar>` (closes #5789) (#5794) * fix(b-nav-item-dropdown): `boundary` handling in `<b-navbar>` * Update nav-item-dropdown.spec.js * docs(form-tags): fix unmatched quote in wrapper example (#5796) * chore(deps): update devdependency terser to ^5.3.2 (#5800) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(docs): fix typo in `b-form-rating` docs (#5801) * chore: update keywords * chore: move `standard-version` configuration to `.versionrc` and skip commit and tag creation * fix(b-skeleton): add missing component exports (#5806) * Fix description (#5807) * chore: bump version to v2.17.2 (#5805) * chore: bump version to vv2.17.2 * Update CHANGELOG.md Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Hiws <hiws@live.dk> Co-authored-by: JonathanGuberman <jonathan@upnotnorth.net> Co-authored-by: JonathanGuberman <jg@tineye.com>
1 parent 63826a3 commit 0fd8dff

17 files changed

+225
-113
lines changed

.versionrc

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"scripts": {
3+
"postchangelog": "./node_modules/.bin/prettier --write CHANGELOG.md"
4+
},
5+
"skip": {
6+
"commit": true,
7+
"tag": true
8+
},
9+
"types": [
10+
{
11+
"type": "fix",
12+
"section": "Bug Fixes"
13+
},
14+
{
15+
"type": "feat",
16+
"section": "Features"
17+
},
18+
{
19+
"type": "perf",
20+
"section": "Performance"
21+
},
22+
{
23+
"type": "docs",
24+
"hidden": true
25+
},
26+
{
27+
"type": "style",
28+
"hidden": true
29+
},
30+
{
31+
"type": "refactor",
32+
"hidden": true
33+
},
34+
{
35+
"type": "chore",
36+
"hidden": true
37+
},
38+
{
39+
"type": "test",
40+
"hidden": true
41+
}
42+
]
43+
}

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@ All notable changes to this project will be documented in this file. See
44
[standard-version](https://github.com/conventional-changelog/standard-version) for commit
55
guidelines.
66

7+
<a name="2.17.2"></a>
8+
9+
### [v2.17.2](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.17.1...v2.17.2)
10+
11+
Released: 2020-09-18
12+
13+
### Bug Fixes v2.17.2
14+
15+
- **b-nav-item-dropdown:** `boundary` handling in `<b-navbar>` (closes
16+
[#5789](https://github.com/bootstrap-vue/bootstrap-vue/issues/5789))
17+
([#5794](https://github.com/bootstrap-vue/bootstrap-vue/issues/5794))
18+
([73383bf](https://github.com/bootstrap-vue/bootstrap-vue/commit/73383bfd935c097604bf5ad39a9cc2d18961ba87))
19+
- **b-skeleton:** add missing component exports
20+
([#5806](https://github.com/bootstrap-vue/bootstrap-vue/issues/5806))
21+
([871ce22](https://github.com/bootstrap-vue/bootstrap-vue/commit/871ce22504c4e64348b844c0e4306161317abf60))
22+
- **b-tooltip, b-popover:** fix `title` not being reset on hide
23+
([#5793](https://github.com/bootstrap-vue/bootstrap-vue/issues/5793))
24+
([31eeb0a](https://github.com/bootstrap-vue/bootstrap-vue/commit/31eeb0ab5ef262c33579f43969c7d6ee6c802e3d))
25+
726
<a name="2.17.1"></a>
827

928
### [v2.17.1](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.17.0...v2.17.1)

docs/common-props.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"description": "Sets the `placeholder` attribute value on the form control"
127127
},
128128
"disabled": {
129-
"description": "When set to 'true', disables the component's functionality and places it in a disabled state"
129+
"description": "When set to `true`, disables the component's functionality and places it in a disabled state"
130130
},
131131
"readonly": {
132132
"description": "Sets the `readonly` attribute on the form control"

package.json

Lines changed: 27 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-vue",
3-
"version": "2.17.1",
3+
"version": "2.17.2",
44
"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.",
55
"main": "dist/bootstrap-vue.common.js",
66
"web": "dist/bootstrap-vue.js",
@@ -149,125 +149,83 @@
149149
"marked": "^1.1.1",
150150
"node-sass": "^4.14.1",
151151
"nuxt": "^2.14.5",
152-
"postcss": "^7.0.32",
152+
"postcss": "^7.0.34",
153153
"postcss-cli": "^7.1.2",
154154
"prettier": "1.14.3",
155155
"require-context": "^1.1.0",
156-
"rollup": "^2.27.0",
156+
"rollup": "^2.27.1",
157157
"rollup-plugin-babel": "^4.4.0",
158158
"rollup-plugin-commonjs": "^10.1.0",
159159
"rollup-plugin-node-resolve": "^5.2.0",
160160
"sass-loader": "^10.0.2",
161161
"standard-version": "^9.0.0",
162-
"terser": "^5.3.1",
162+
"terser": "^5.3.2",
163163
"vue": "^2.6.12",
164164
"vue-jest": "^3.0.7",
165165
"vue-router": "^3.4.3",
166166
"vue-server-renderer": "^2.6.12",
167167
"vue-template-compiler": "^2.6.12"
168168
},
169-
"standard-version": {
170-
"scripts": {
171-
"postchangelog": "./node_modules/.bin/prettier --write CHANGELOG.md"
172-
},
173-
"types": [
174-
{
175-
"type": "fix",
176-
"section": "Bug Fixes"
177-
},
178-
{
179-
"type": "feat",
180-
"section": "Features"
181-
},
182-
{
183-
"type": "perf",
184-
"section": "Performance"
185-
},
186-
{
187-
"type": "docs",
188-
"hidden": true
189-
},
190-
{
191-
"type": "style",
192-
"hidden": true
193-
},
194-
{
195-
"type": "refactor",
196-
"hidden": true
197-
},
198-
{
199-
"type": "chore",
200-
"hidden": true
201-
},
202-
{
203-
"type": "test",
204-
"hidden": true
205-
}
206-
]
207-
},
208169
"keywords": [
209170
"Bootstrap",
210171
"Bootstrap v4",
211172
"Bootstrap for Vue",
173+
"Vue",
174+
"Vue.js",
175+
"Vue v2",
212176
"SSR",
213177
"Web",
214178
"Components",
215179
"Directives",
180+
"Icons",
181+
"Bootstrap Icons",
216182
"ARIA",
217183
"Accessibility",
218184
"a11y",
219-
"Polymer",
220-
"Vue",
221-
"VueJS",
222-
"Vue2",
223-
"WebComponents",
224-
"jquery",
225185
"Popper.js",
226-
"Popper",
227186
"CSS",
228187
"SCSS",
229-
"Icons",
230-
"Bootstrap Icons",
231-
"Flexbox",
232188
"Alert",
189+
"Avatar",
190+
"Badge",
233191
"Breadcrumb",
234192
"Button",
235-
"Checkbox",
236-
"Radio",
193+
"Calendar",
237194
"Card",
238195
"Carousel",
239-
"Slider",
240-
"Calendar",
196+
"Checkbox",
197+
"Collapse",
198+
"Collapse",
241199
"Date picker",
242200
"Datepicker",
243-
"Collapse",
244201
"Dropdown",
202+
"Dropzone",
245203
"Form",
246-
"Select",
247-
"Option",
248204
"Input",
249205
"Jumbotron",
250206
"List",
251-
"Nav",
252207
"Modal",
253-
"MessageBox",
254-
"Upload",
255-
"Dropzone",
208+
"Nav",
256209
"Navbar",
210+
"Option",
211+
"Overlay",
257212
"Pagination",
258213
"Popover",
259214
"Progress",
215+
"Radio",
216+
"Select",
217+
"Sidebar",
218+
"Skeleton",
219+
"Slider",
260220
"Spinner",
261221
"Tab",
262222
"Table",
263223
"Tag",
264224
"Tags",
225+
"Time picker",
226+
"Timepicker",
265227
"Toast",
266-
"Tooltip",
267-
"vue-bootstrap",
268-
"vue-strap",
269-
"vuestrap",
270-
"uiv"
228+
"Tooltip"
271229
],
272230
"collective": {
273231
"type": "opencollective",

src/components/form-rating/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ may prefer the custom input to occupy on the space required for it's contents. S
295295

296296
### Borderless
297297

298-
By default, `<b-from-rating>` has standard Bootstrap form-control styling. To disable the default
298+
By default, `<b-form-rating>` has standard Bootstrap form-control styling. To disable the default
299299
form-control border, simply set the `no-border` prop to `true`.
300300

301301
```html

src/components/form-tags/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ You can easily create a custom wrapper component with your preferred rendering s
833833
import { BFormTags } from 'bootstrap-vue'
834834
835835
export default {
836-
name: 'MyCustomTags",
836+
name: 'MyCustomTags',
837837
components: { BFormTags },
838838
model: {
839839
prop: 'value',

src/components/nav/nav-item-dropdown.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ export const BNavItemDropdown = /*#__PURE__*/ Vue.extend({
2929
toggleId() {
3030
return this.safeId('_BV_toggle_')
3131
},
32-
isNav() {
33-
// Signal to dropdown mixin that we are in a navbar
34-
return true
35-
},
3632
dropdownClasses() {
3733
return [this.directionClass, this.boundaryClass, { show: this.visible }]
3834
},

src/components/nav/nav-item-dropdown.spec.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,6 @@ describe('nav-item-dropdown', () => {
3434
wrapper.destroy()
3535
})
3636

37-
it('should have a flag that we are in a nav', async () => {
38-
const wrapper = mount(BNavItemDropdown)
39-
40-
expect(wrapper.vm).toBeDefined()
41-
expect(wrapper.vm.isNav).toBe(true)
42-
43-
wrapper.destroy()
44-
})
45-
4637
it('should have custom toggle class when "toggle-class" prop set', async () => {
4738
const wrapper = mount(BNavItemDropdown, {
4839
propsData: {

src/components/nav/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@
9898
"props": [
9999
{
100100
"prop": "text",
101-
"description": "Text to place in the toggle button, or in the split button is split mode"
101+
"description": "Text to place in the toggle element (link)"
102102
},
103103
{
104104
"prop": "html",
105-
"description": "HTML string to place in the toggle button, or in the split button is split mode. Use with caution"
105+
"description": "HTML string to place in the toggle element (link). Use with caution"
106106
},
107107
{
108108
"prop": "dropup",
@@ -138,16 +138,16 @@
138138
},
139139
{
140140
"prop": "toggleClass",
141-
"description": "CSS class (or classes) to add to the toggle button"
141+
"description": "CSS class (or classes) to add to the toggle element (link)"
142142
},
143143
{
144144
"prop": "noCaret",
145-
"description": "Hide the caret indicator on the toggle button"
145+
"description": "Hide the caret indicator on the toggle element (link)"
146146
},
147147
{
148148
"prop": "boundary",
149149
"version": "2.4.0",
150-
"description": "The boundary constraint of the menu: 'scrollParent', 'window', 'viewport', or a reference to an HTMLElement. Has no effect when dropdown is inside a b-navbar"
150+
"description": "The boundary constraint of the menu: 'scrollParent', 'window', 'viewport', or a reference to an HTMLElement. Has no effect when dropdown is inside a `<b-navbar>`"
151151
}
152152
],
153153
"slots": [

src/components/popover/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
{
3131
"prop": "placement",
32-
"description": "Placement of the popover: One of 'top', 'bottom', 'right', 'left', 'top-left', 'top-right', 'bottom-left', 'bottom-right', 'left-top', 'left-bottom', 'right-top', 'right-bottom'"
32+
"description": "Placement of the popover: One of 'top', 'bottom', 'right', 'left', 'topleft', 'topright', 'bottomleft', 'bottomright', 'lefttop', 'leftbottom', 'righttop', 'rightbottom'"
3333
},
3434
{
3535
"prop": "fallbackPlacement",

src/components/skeleton/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import { BSkeletonWrapper } from './skeleton-wrapper'
88
const SkeletonPlugin = /*#__PURE__*/ pluginFactory({
99
components: {
1010
BSkeleton,
11-
BSkeletonWrapper,
12-
BSkeletonTable,
11+
BSkeletonIcon,
1312
BSkeletonImg,
14-
BSkeletonIcon
13+
BSkeletonTable,
14+
BSkeletonWrapper
1515
}
1616
})
1717

18-
export { SkeletonPlugin, BSkeleton, BSkeletonWrapper, BSkeletonTable, BSkeletonImg, BSkeletonIcon }
18+
export { SkeletonPlugin, BSkeleton, BSkeletonIcon, BSkeletonImg, BSkeletonTable, BSkeletonWrapper }

src/components/tooltip/helpers/bv-tooltip.js

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -621,19 +621,31 @@ export const BVTooltip = /*#__PURE__*/ Vue.extend({
621621
}
622622
},
623623
fixTitle() {
624-
// If the target has a `title` attribute, remove it and store it on a data attribute
624+
// If the target has a `title` attribute,
625+
// remove it and store it on a data attribute
625626
const target = this.getTarget()
626-
if (target && hasAttr(target, 'title')) {
627-
setAttr(target, DATA_TITLE_ATTR, getAttr(target, 'title') || '')
627+
if (hasAttr(target, 'title')) {
628+
// Get `title` attribute value and remove it from target
629+
const title = getAttr(target, 'title')
628630
setAttr(target, 'title', '')
631+
// Only set the data attribute when the value is truthy
632+
if (title) {
633+
setAttr(target, DATA_TITLE_ATTR, title)
634+
}
629635
}
630636
},
631637
restoreTitle() {
632-
// If the target had a title, restore it and remove the data attribute
638+
// If the target had a `title` attribute,
639+
// restore it and remove the data attribute
633640
const target = this.getTarget()
634-
if (target && hasAttr(target, DATA_TITLE_ATTR)) {
635-
setAttr(target, 'title', getAttr(target, DATA_TITLE_ATTR) || '')
641+
if (hasAttr(target, DATA_TITLE_ATTR)) {
642+
// Get data attribute value and remove it from target
643+
const title = getAttr(target, DATA_TITLE_ATTR)
636644
removeAttr(target, DATA_TITLE_ATTR)
645+
// Only restore the `title` attribute when the value is truthy
646+
if (title) {
647+
setAttr(target, 'title', title)
648+
}
637649
}
638650
},
639651
// --- BvEvent helpers ---

src/components/tooltip/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
{
2727
"prop": "placement",
28-
"description": "Placement of the tooltip: One of 'top', 'bottom', 'right', 'left', 'top-left', 'top-right', 'bottom-left', 'bottom-right', 'left-top', 'left-bottom', 'right-top', 'right-bottom'"
28+
"description": "Placement of the tooltip: One of 'top', 'bottom', 'right', 'left', 'topleft', 'topright', 'bottomleft', 'bottomright', 'lefttop', 'leftbottom', 'righttop', 'rightbottom'"
2929
},
3030
{
3131
"prop": "fallbackPlacement",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy