🌐 AI搜索 & 代理 主页
Skip to content

Commit 95dd6b2

Browse files
committed
Merge branch 'fix-b-link-href-handling' of https://github.com/bootstrap-vue/bootstrap-vue into fix-b-link-href-handling
2 parents c5cd154 + c1a34ba commit 95dd6b2

File tree

5 files changed

+317
-222
lines changed

5 files changed

+317
-222
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"@babel/plugin-transform-runtime": "^7.11.5",
106106
"@babel/preset-env": "^7.11.5",
107107
"@babel/standalone": "^7.11.6",
108-
"@nuxt/content": "^1.9.0",
108+
"@nuxt/content": "^1.10.0",
109109
"@nuxtjs/google-analytics": "^2.4.0",
110110
"@nuxtjs/pwa": "^3.1.2",
111111
"@nuxtjs/robots": "^2.4.2",
@@ -124,7 +124,7 @@
124124
"codesandbox": "^2.2.1",
125125
"core-js": ">=2.6.5 <3.0.0",
126126
"cross-env": "^7.0.2",
127-
"eslint": "^7.10.0",
127+
"eslint": "^7.11.0",
128128
"eslint-config-prettier": "^6.12.0",
129129
"eslint-config-standard": "^14.1.1",
130130
"eslint-config-vue": "^2.0.2",
@@ -139,10 +139,10 @@
139139
"esm": "^3.2.25",
140140
"execa": "^4.0.3",
141141
"highlight.js": "^9.18.2",
142-
"html-loader": "^1.3.1",
142+
"html-loader": "^1.3.2",
143143
"husky": "^4.3.0",
144144
"improved-yarn-audit": "^2.3.1",
145-
"jest": "^26.5.2",
145+
"jest": "^26.5.3",
146146
"lint-staged": "^10.4.0",
147147
"loader-utils": "^2.0.0",
148148
"lodash": "^4.17.20",
@@ -159,7 +159,7 @@
159159
"rollup-plugin-node-resolve": "^5.2.0",
160160
"sass-loader": "^10.0.3",
161161
"standard-version": "^9.0.0",
162-
"terser": "^5.3.4",
162+
"terser": "^5.3.5",
163163
"vue": "^2.6.12",
164164
"vue-jest": "^3.0.7",
165165
"vue-router": "^3.4.6",

src/components/navbar/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,10 @@ Internally, `<b-navbar-toggle>` uses the [`v-b-toggle` directive](/docs/directiv
292292
`<b-navbar-toggle>` renders the default Bootstrap v4 _hamburger_ (which is a background SVG image).
293293
You can supply your own content (such as an icon) via the optionally scoped `default` slot. The
294294
default slot scope contains the property `expanded`, which will be `true` when the collapse is
295-
expanded, or `false` when the collapse is collapsed. You can use this to swap the toggle content
296-
based on the collapse state:
295+
expanded, or `false` when the collapse is collapsed.
296+
297+
Note that the `expanded` scope property only works when supplying the `target` prop as a `string`,
298+
and not an `array`.
297299

298300
```html
299301
<template>

src/components/navbar/navbar-toggle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const BNavbarToggle = /*#__PURE__*/ Vue.extend({
2222
default: () => getComponentConfig(NAME_NAVBAR_TOGGLE, 'label')
2323
},
2424
target: {
25-
type: String,
25+
type: [Array, String],
2626
required: true
2727
},
2828
disabled: {

src/components/navbar/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"props": [
7272
{
7373
"prop": "target",
74-
"description": "ID of the collapse the toggle controls"
74+
"description": "ID (or array of IDs) of the collapse/sidebar components that should be toggled"
7575
},
7676
{
7777
"prop": "label",

0 commit comments

Comments
 (0)