Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit a5952b7

Browse files
committed
docs: fix bprogress documentation replaced with bplaceholder fixes bootstrap-vue-next#1238
1 parent 72c58fd commit a5952b7

File tree

23 files changed

+534
-639
lines changed

23 files changed

+534
-639
lines changed

apps/docs/.vitepress/theme/Layout.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
backdrop="false"
8888
title="Browse docs"
8989
class="h-100"
90+
:body-scrolling="isLargeScreen"
9091
>
9192
<TableOfContentsNav />
9293
</BOffcanvas>
@@ -121,6 +122,7 @@
121122
placement="end"
122123
title="On this page"
123124
class="h-100"
125+
:body-scrolling="isLargeScreen"
124126
>
125127
<div class="bd-toc" />
126128
</BOffcanvas>

apps/docs/src/docs/components/collapse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ The following properties are available for the `header` and `footer` slots:
336336
<BCollapse id="my-collapse">
337337
<template #header="{visible, toggle, id}">
338338
<BButton variant="primary" :aria-expanded="visible" :aria-controls="id" @click="toggle">
339-
<span v-if="visible">Close</span><span v-else>Open</span> My Collapse
339+
<span>{{ visible ? 'Close' : 'Open' }}</span> My Collapse
340340
</BButton>
341341
</template>
342342
<!-- Content here -->
@@ -348,7 +348,7 @@ The following properties are available for the `header` and `footer` slots:
348348
<BCollapse id="my-collapse">
349349
<template #header="{visible, toggle, id}">
350350
<BButton variant="primary" :aria-expanded="visible" :aria-controls="id" @click="toggle">
351-
<span v-if="visible">Close</span><span v-else>Open</span> My Collapse
351+
<span>{{ visible ? 'Close' : 'Open' }}</span> My Collapse
352352
</BButton>
353353
</template>
354354
<!-- Content here -->

apps/docs/src/docs/components/form-group.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The `<BFormGroup>` component is the easiest way to add some structure to forms.
2525
:state="state"
2626
label-class="mb-1"
2727
>
28-
<BFormInput id="input-1" v-model="name" :state="state" trim></BFormInput>
28+
<BFormInput id="input-1" v-model="name" :state="state" trim />
2929
</BFormGroup>
3030
<template #html>
3131
@@ -41,7 +41,7 @@ The `<BFormGroup>` component is the easiest way to add some structure to forms.
4141
:state="state"
4242
label-class="mb-1"
4343
>
44-
<BFormInput id="input-1" v-model="name" :state="state" trim></BFormInput>
44+
<BFormInput id="input-1" v-model="name" :state="state" trim />
4545
</BFormGroup>
4646
</template>
4747
@@ -123,7 +123,7 @@ See the [Layout and Grid System](/docs/components/layout#how-it-works) docs for
123123
label="Enter your name"
124124
label-for="input-horizontal"
125125
>
126-
<BFormInput id="input-horizontal"></BFormInput>
126+
<BFormInput id="input-horizontal" />
127127
</BFormGroup>
128128
<template #html>
129129

@@ -138,7 +138,7 @@ See the [Layout and Grid System](/docs/components/layout#how-it-works) docs for
138138
label="Enter your name"
139139
label-for="input-horizontal"
140140
>
141-
<BFormInput id="input-horizontal"></BFormInput>
141+
<BFormInput id="input-horizontal" />
142142
</BFormGroup>
143143
```
144144

@@ -155,27 +155,27 @@ for both horizontal and non-horizontal form groups.
155155

156156
<HighlightCard>
157157
<BFormGroup label-cols="4" label-cols-lg="2" label-size="sm" label="Small" label-for="input-sm">
158-
<BFormInput id="input-sm" size="sm"></BFormInput>
158+
<BFormInput id="input-sm" size="sm" />
159159
</BFormGroup>
160160
<BFormGroup label-cols="4" label-cols-lg="2" label="Default" label-for="input-default">
161-
<BFormInput id="input-default"></BFormInput>
161+
<BFormInput id="input-default" />
162162
</BFormGroup>
163163
<BFormGroup label-cols="4" label-cols-lg="2" label-size="lg" label="Large" label-for="input-lg">
164-
<BFormInput id="input-lg" size="lg"></BFormInput>
164+
<BFormInput id="input-lg" size="lg" />
165165
</BFormGroup>
166166
<template #html>
167167

168168
```vue-html
169169
<BFormGroup label-cols="4" label-cols-lg="2" label-size="sm" label="Small" label-for="input-sm">
170-
<BFormInput id="input-sm" size="sm"></BFormInput>
170+
<BFormInput id="input-sm" size="sm" />
171171
</BFormGroup>
172172
173173
<BFormGroup label-cols="4" label-cols-lg="2" label="Default" label-for="input-default">
174-
<BFormInput id="input-default"></BFormInput>
174+
<BFormInput id="input-default" />
175175
</BFormGroup>
176176
177177
<BFormGroup label-cols="4" label-cols-lg="2" label-size="lg" label="Large" label-for="input-lg">
178-
<BFormInput id="input-lg" size="lg"></BFormInput>
178+
<BFormInput id="input-lg" size="lg" />
179179
</BFormGroup>
180180
```
181181

@@ -217,31 +217,31 @@ of related form controls:
217217
label-cols-sm="3"
218218
label-align-sm="end"
219219
>
220-
<BFormInput id="nested-street"></BFormInput>
220+
<BFormInput id="nested-street" />
221221
</BFormGroup>
222222
<BFormGroup
223223
label="City:"
224224
label-for="nested-city"
225225
label-cols-sm="3"
226226
label-align-sm="end"
227227
>
228-
<BFormInput id="nested-city"></BFormInput>
228+
<BFormInput id="nested-city" />
229229
</BFormGroup>
230230
<BFormGroup
231231
label="State:"
232232
label-for="nested-state"
233233
label-cols-sm="3"
234234
label-align-sm="end"
235235
>
236-
<BFormInput id="nested-state"></BFormInput>
236+
<BFormInput id="nested-state" />
237237
</BFormGroup>
238238
<BFormGroup
239239
label="Country:"
240240
label-for="nested-country"
241241
label-cols-sm="3"
242242
label-align-sm="end"
243243
>
244-
<BFormInput id="nested-country"></BFormInput>
244+
<BFormInput id="nested-country" />
245245
</BFormGroup>
246246
<BFormGroup
247247
label="Ship via:"
@@ -252,7 +252,7 @@ of related form controls:
252252
<BFormRadioGroup
253253
class="pt-2"
254254
:options="['Air', 'Courier', 'Mail']"
255-
></BFormRadioGroup>
255+
/>
256256
</BFormGroup>
257257
</BFormGroup>
258258
</BCard>
@@ -273,15 +273,15 @@ of related form controls:
273273
label-cols-sm="3"
274274
label-align-sm="end"
275275
>
276-
<BFormInput id="nested-street"></BFormInput>
276+
<BFormInput id="nested-street" />
277277
</BFormGroup>
278278
279279
<BFormGroup label="City:" label-for="nested-city" label-cols-sm="3" label-align-sm="end">
280-
<BFormInput id="nested-city"></BFormInput>
280+
<BFormInput id="nested-city" />
281281
</BFormGroup>
282282
283283
<BFormGroup label="State:" label-for="nested-state" label-cols-sm="3" label-align-sm="end">
284-
<BFormInput id="nested-state"></BFormInput>
284+
<BFormInput id="nested-state" />
285285
</BFormGroup>
286286
287287
<BFormGroup
@@ -290,7 +290,7 @@ of related form controls:
290290
label-cols-sm="3"
291291
label-align-sm="end"
292292
>
293-
<BFormInput id="nested-country"></BFormInput>
293+
<BFormInput id="nested-country" />
294294
</BFormGroup>
295295
296296
<BFormGroup
@@ -302,7 +302,7 @@ of related form controls:
302302
<BFormRadioGroup
303303
class="pt-2"
304304
:options="['Air', 'Courier', 'Mail']"
305-
></BFormRadioGroup>
305+
/>
306306
</BFormGroup>
307307
</BFormGroup>
308308
</BCard>
@@ -398,7 +398,7 @@ You can make a floating label by setting the property `floating` to true and spe
398398
:state="floatingState"
399399
floating
400400
>
401-
<BFormInput id="input-floating-1" v-model="floatingName" :state="floatingState" trim placeholder="Enter your name please"></BFormInput>
401+
<BFormInput id="input-floating-1" v-model="floatingName" :state="floatingState" trim placeholder="Enter your name please" />
402402
</BFormGroup>
403403
<template #html>
404404
@@ -420,7 +420,7 @@ You can make a floating label by setting the property `floating` to true and spe
420420
:state="floatingState"
421421
trim
422422
placeholder="Enter your name please"
423-
></BFormInput>
423+
/>
424424
</BFormGroup>
425425
</template>
426426

0 commit comments

Comments
 (0)