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

Commit 144c4f0

Browse files
authored
Merge branch 'dev' into docs-vercel
2 parents 08b5aaf + a366baa commit 144c4f0

File tree

13 files changed

+89
-21
lines changed

13 files changed

+89
-21
lines changed

docs/components/componentdoc.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
variant="secondary"
1212
target="_blank"
1313
href="https://vuejs.org/v2/guide/render-function.html#Functional-Components"
14+
class="mb-3 mb-sm-0"
1415
>
1516
Functional component
1617
</b-badge>

docs/constants.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ export const GWT_JS_ORG = 'H9Mn7ie5Z5KJSjRfsn9nilLn5kFgn7BMEqL_sUhVpzg'
1313
// *.bootstrap-vue.org
1414
// <meta name="google-site-verification" content="5E0vyG9CXTfY7McIt2aQppkNA6FQ3b0JJRZzhQ16HW4" />
1515
export const GWT_BV_ORG = '5E0vyG9CXTfY7McIt2aQppkNA6FQ3b0JJRZzhQ16HW4'
16+
// bootstrap-vue.netlify.app (legacy dev site)
17+
// <meta name="google-site-verification" content="Ba1MOy9bRa-r-8eLhSTEkayGbGrT3HhbNuqNiY60uzo" />
18+
export const GWT_BV_NETLIFY = 'Ba1MOy9bRa-r-8eLhSTEkayGbGrT3HhbNuqNiY60uzo'

docs/layouts/default.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BASE_URL, GWT_BV_ORG, GWT_JS_ORG } from '~/constants'
1+
import { BASE_URL, GWT_BV_ORG, GWT_JS_ORG, GWT_BV_NETLIFY } from '~/constants'
22
import Footer from '~/components/footer'
33
import Header from '~/components/header'
44

@@ -25,11 +25,17 @@ export default {
2525
name: 'google-site-verification',
2626
content: GWT_BV_ORG
2727
},
28-
// Add GWT site verification for bootstrap-vue.js.org
28+
// Add GWT site verification for bootstrap-vue.js.org (legacy)
2929
{
3030
hid: 'google-site-verification-js-org',
3131
name: 'google-site-verification',
3232
content: GWT_JS_ORG
33+
},
34+
// Add GWT site verification for bootstrap-vue.netlify.app (legacy)
35+
{
36+
hid: 'google-site-verification-netlify',
37+
name: 'google-site-verification',
38+
content: GWT_BV_NETLIFY
3339
}
3440
]
3541
}

now.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"headers": [
3+
{
4+
"source": "/(.*)",
5+
"headers" : [
6+
{
7+
"key" : "X-Robots-Tag",
8+
"value" : ""
9+
}
10+
]
11+
}
12+
]
13+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"loader-utils": "^2.0.0",
143143
"lodash": "^4.17.15",
144144
"marked": "^1.0.0",
145-
"node-sass": "^4.13.1",
145+
"node-sass": "^4.14.0",
146146
"nuxt": "^2.12.2",
147147
"postcss-cli": "^7.1.0",
148148
"prettier": "1.14.3",

src/_custom-controls.scss

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,19 @@
3232
// Shared BVFormBtnLabelControl styling
3333
// Currently used by BFormTimepicker and BFormDatepicker
3434
// Does not apply to button-only styling
35-
.b-form-btn-label-control {
36-
// Remove background validation images from main wrapper
35+
.b-form-btn-label-control.form-control {
36+
// Remove background validation images and padding from
37+
// main wrapper as they will be present in the inner label element
3738
background-image: none;
3839
padding: 0;
3940

41+
@at-root {
42+
// Handle input-group padding overrides
43+
.input-group & {
44+
padding: 0;
45+
}
46+
}
47+
4048
@at-root {
4149
// Prevent the button/label from reversing order on in horizontal RTL mode
4250
[dir="rtl"] &,
@@ -77,6 +85,7 @@
7785
padding-left: 0.25rem;
7886
margin: 0;
7987
border: 0;
88+
font-size: inherit;
8089
@if $enable-pointer-cursor-for-buttons {
8190
cursor: pointer;
8291
}
@@ -92,6 +101,21 @@
92101
&.form-control-lg {
93102
min-height: calc(#{$input-height-lg} - #{$input-height-border});
94103
}
104+
105+
@at-root {
106+
// Handle input group sizing
107+
.input-group.input-group-sm & {
108+
min-height: calc(#{$input-height-sm} - #{$input-height-border});
109+
padding-top: $input-padding-y-sm;
110+
padding-bottom: $input-padding-y-sm
111+
}
112+
113+
.input-group.input-group-lg & {
114+
min-height: calc(#{$input-height-lg} - #{$input-height-border});
115+
padding-top: $input-padding-y-lg;
116+
padding-bottom: $input-padding-y-lg
117+
}
118+
}
95119
}
96120

97121
// Disabled and read-only styling

src/components/form/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,12 @@ See also:
187187
- [`<b-form-select>`](/docs/components/form-select) Select input
188188
- [`<b-form-radio>`](/docs/components/form-radio) Radio Inputs
189189
- [`<b-form-checkbox>`](/docs/components/form-checkbox) Checkbox Inputs
190-
- [`b-form-datepicker`](/docs/components/form-datepicker) Date picker input
191-
- [`b-form-spinbutton`](/docs/components/form-spinbutton) Numerical range spinbutton input
192-
- [`b-form-tags`](/docs/components/form-tags) Customizable tag input
193-
- [`<b-form-timepicker>`](/docs/components/form-timepicker) Time picker custom form input
194190
- [`<b-form-file>`](/docs/components/form-file) File Input
191+
- [`<b-form-datepicker>`](/docs/components/form-datepicker) Date picker input
192+
- [`<b-form-spinbutton>`](/docs/components/form-spinbutton) Numerical range spinbutton input
193+
- [`<b-form-tags>`](/docs/components/form-tags) Customizable tag input
194+
- [`<b-form-timepicker>`](/docs/components/form-timepicker) Time picker custom form input
195+
- [`<b-form-rating>`](/docs/components/form-rating) Star rating custom form input and display
195196
- [`<b-button>`](/docs/components/button) Buttons
196197
- [`<b-form-group>`](/docs/components/form-group) Form input wrapper to generate form-groups that
197198
support labels, help text and feedback

src/components/input-group/README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,24 @@ subcomponent inside of the `<b-input-group-prepend>` or `<b-input-group-append>`
113113

114114
The following are the form controls supported as the input-group's _main_ input element:
115115

116-
- `<b-form-input>`
117-
- `<b-form-textarea>`
118-
- `<b-form-select>`
119-
- `<b-form-file>`
116+
- [`<b-form-input>`](/docs/components/form-input)
117+
- [`<b-form-textarea>`](/docs/components/form-textarea)
118+
- [`<b-form-select>`](/docs/components/form-select)
119+
- [`<b-form-file>`](/docs/components/form-file)
120+
- [`<b-form-rating>`](/docs/components/form-rating)
121+
- [`<b-form-tags>`](/docs/components/form-tags)
122+
- [`<b-form-spinbutton>`](/docs/components/form-splinbutton)
123+
- [`<b-form-datepicker>`](/docs/components/form-datepicker)
124+
- [`<b-form-timepicker>`](/docs/components/form-timepicker)
120125

121126
**Notes:**
122127

123128
- BootstrapVue uses custom SCSS/CSS to handling sizing the `<b-form-file>` input when it is placed
124129
in a `<b-input-group>` which has a [`size`](#control-sizing) specified.
125130
- BootstrapVue uses custom SCSS/CSS when `<b-form-input type="range">` is placed in a
126131
`<b-input-group>`.
132+
- BootstrapVue's custom components (i.e. `<b-form-spinbutton>`, `<b-form-rating>`, `<b-form-tags>`,
133+
etc.) require BootstrapVue's custom SCSS/CSS.
127134

128135
## Checkbox and radio addons
129136

src/components/media/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<b-card>
6666
<b-media no-body>
6767
<b-media-aside vertical-align="center">
68-
<b-img blank blank-color="#ccc" width="128" height="256" alt="placeholder"></b-img>
68+
<b-img blank blank-color="#ccc" width="64" height="128" alt="placeholder"></b-img>
6969
</b-media-aside>
7070

7171
<b-media-body class="ml-3">

src/components/table/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
{
144144
"prop": "detailsTdClass",
145145
"version": "2.1.0",
146-
"description": "CSS class (or classes) to apply to the td element in the details row"
146+
"description": "CSS class (or classes) to apply to the row details' `td` element for the row-details slot"
147147
},
148148
{
149149
"prop": "value",

0 commit comments

Comments
 (0)