Skip to content

Commit a3afdf3

Browse files
authored
Merge branch 'dev' into dev
2 parents 01efdae + ec51ef0 commit a3afdf3

File tree

25 files changed

+1267
-937
lines changed

25 files changed

+1267
-937
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
<br>
77

88
<p align="center">
9-
BootstrapVue, with over 40 available plugins, more than 80 custom components, and over 670 icons,
10-
provides one of the most comprehensive implementations of the Bootstrap v4 component and grid
11-
system for Vue.js, complete with extensive and automated WAI-ARIA accessibility markup.
9+
With more than 85 components, over 45 available plugins, several directives, and 1000+ icons,
10+
BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4.5
11+
component and grid system available for Vue.js v2.6, complete with extensive and automated
12+
WAI-ARIA accessibility markup.
1213
</p>
1314
<br>
1415

docs/components/footer.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@
1919
<li><b-link to="/docs/reference" exact>Reference</b-link></li>
2020
<li><b-link to="/play" exact>Playground</b-link></li>
2121
</ul>
22-
<!-- TODO: Uncomment when we have themes
2322
<h5 class="bd-text-purple-bright mb-1 mt-3">Themes</h5>
2423
<ul class="list-unstyled ml-3">
2524
<li><b-link to="/themes" exact>Themes and dashboards</b-link></li>
2625
</ul>
27-
-->
2826
</b-col>
2927

3028
<b-col cols="auto" class="text-left">

docs/components/header.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@
3535
<b-nav-item to="/docs/directives" active-class="active" no-prefetch>Directives</b-nav-item>
3636
<b-nav-item to="/docs/icons" active-class="active" no-prefetch>Icons</b-nav-item>
3737
<b-nav-item to="/docs/reference" active-class="active">Reference</b-nav-item>
38-
<!-- TODO: Uncomment when we have themes
3938
<b-nav-item to="/themes" active-class="active" no-prefetch>Themes</b-nav-item>
40-
-->
4139
<b-nav-item to="/play" active-class="active" no-prefetch>Play</b-nav-item>
4240
</b-navbar-nav>
4341
</div>

docs/components/icons-table.vue

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,18 @@
4242
<transition-group
4343
tag="ul"
4444
name="flip-icon-list"
45-
class="row row-cols-3 row-cols-sm-4 row-cols-lg-6 list-unstyled mb-n3 position-relative"
45+
class="row row-cols-3 row-cols-sm-4 row-cols-lg-6 row-cols-xl-8 row-cols-xxl-10 list-unstyled"
4646
>
4747
<b-col
4848
v-for="icon in filteredIcons"
4949
:key="`_icon_${icon.name}`"
5050
tag="li"
51-
class="flip-icon-list-icon d-inline-flex flex-column mb-3 text-center"
51+
class="flip-icon-list-icon d-inline-flex flex-column mb-4 text-center"
5252
>
53-
<div class="card bg-light p-3" :title="icon.name">
53+
<b-card bg-variant="light" class="px-3 py-4 border-0" no-body>
5454
<b-icon :icon="icon.name" class="mx-auto"></b-icon>
55-
</div>
56-
<b-form-text class="mt-1 text-break" :title="icon.name">{{ icon.name }}</b-form-text>
55+
</b-card>
56+
<b-form-text class="mt-2 text-break" :title="icon.name">{{ icon.name }}</b-form-text>
5757
</b-col>
5858
</transition-group>
5959
<div aria-live="polite" aria-atomic="true">
@@ -121,6 +121,20 @@
121121
.flip-icon-list-leave-active {
122122
position: absolute;
123123
}
124+
125+
@media (min-width: 1200px) {
126+
.row-cols-xl-8 > * {
127+
flex: 0 0 12.5%;
128+
max-width: 12.5%;
129+
}
130+
}
131+
132+
@media (min-width: 1400px) {
133+
.row-cols-xxl-10 > * {
134+
flex: 0 0 10%;
135+
max-width: 10%;
136+
}
137+
}
124138
</style>
125139

126140
<script>

docs/components/sidebar.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
</b-nav>
5252
</b-link>
5353

54-
<!-- TODO: Uncomment when we have themes
5554
<b-link
5655
to="/themes"
5756
router-tag="div"
@@ -69,7 +68,6 @@
6968
Themes
7069
</b-link>
7170
</b-link>
72-
-->
7371

7472
<b-link
7573
to="/play"

docs/content/index.js renamed to docs/content.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,36 @@ export const nav = [
6262
}
6363
]
6464

65+
// RegExp to grab the minor version from a full version
66+
const minorRE = /^(\d+\.\d+)(\..+)$/
67+
// RegExp to grab the major version from a full version
68+
const majorRE = /^(\d+)(\.\d+\..+)$/
69+
6570
export const bootstrapVersion = parseVersion(dependencies.bootstrap)
71+
export const bootstrapVersionMinor = bootstrapVersion.replace(minorRE, '$1')
72+
export const bootstrapVersionMajor = bootstrapVersion.replace(majorRE, '$1')
73+
6674
export const bootstrapIconsVersion = parseFullVersion(devDependencies['bootstrap-icons'])
75+
export const bootstrapIconsVersionMinor = bootstrapIconsVersion.replace(minorRE, '$1')
76+
export const bootstrapIconsVersionMajor = bootstrapIconsVersion.replace(majorRE, '$1')
77+
export const bootstrapIconsCount = 1000
78+
6779
export const popperVersion = parseVersion(dependencies['popper.js'])
80+
export const popperVersionMinor = popperVersion.replace(minorRE, '$1')
81+
export const popperVersionMajor = popperVersion.replace(majorRE, '$1')
82+
6883
export const portalVueVersion = parseVersion(dependencies['portal-vue'])
84+
export const portalVueVersionMinor = portalVueVersion.replace(minorRE, '$1')
85+
export const portalVueVersionMajor = portalVueVersion.replace(majorRE, '$1')
86+
6987
export const nuxtVersion = parseVersion(devDependencies.nuxt)
88+
export const nuxtVersionMinor = nuxtVersion.replace(minorRE, '$1')
89+
export const nuxtVersionMajor = nuxtVersion.replace(majorRE, '$1')
90+
7091
export const vueVersion = parseVersion(devDependencies.vue)
92+
export const vueVersionMinor = vueVersion.replace(minorRE, '$1')
93+
export const vueVersionMajor = vueVersion.replace(majorRE, '$1')
94+
7195
export const defaultConfig = DEFAULT_CONFIG
7296
export const bvDescription = description
7397

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
title: 'BootstrapVue Argon Dashboard PRO'
2+
type: 'dashboard'
3+
category: 'Admin & Dashboard'
4+
img: 'https://raw.githubusercontent.com/creativetimofficial/public-assets/master/bootstrap-vue-argon-dashboard-pro/opt_badp_thumbnail.jpg'
5+
href: 'https://www.creative-tim.com/product/bootstrap-vue-argon-dashboard-pro?partner=134895'
6+
description: 'BootstrapVue Argon Dashboard PRO is a completely new product built on our newest re-built from scratch framework structure that is meant to make our products more intuitive, more adaptive and, needless to say, so much easier to customize. Let Argon amaze you with its cool features and build tools and get your project to a whole new level.'
7+
provider: 'Creative Tim'
8+
price: '$89.00'

docs/markdown/intro/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ The online documentation is comprised of the following sections:
2727
- [Icons](/docs/icons) - Icons and icon plugin documentation <b-badge>v2.2.0+</b-badge>
2828
- [Reference](/docs/reference) - Reference information and documentation
2929
- [Playground](/play) - Online playground
30-
31-
<!-- TODO: Uncomment when we have themes
3230
- [Themes](/themes) - Themes and dashboards
33-
-->
3431

3532
## Prerequisites
3633

docs/markdown/reference/theming/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ stacked tables, etc). Our custom CSS relies on variables defined the Bootstrap v
99
using the BootstrapVue source SCSS, you can have your variable overrides (such as breakpoints, theme
1010
colors, etc) adjust the custom BootstrapVue css generation.
1111

12-
<!-- TODO: Uncomment when we have themes
1312
For premium dashboards and themes, please refer to the [`Themes section`](/themes) of the
1413
documentation.
15-
-->
1614

1715
## SASS variable defaults
1816

@@ -283,10 +281,8 @@ a {
283281
284282
## See also
285283
286-
<!-- TODO: Uncomment when we have themes
287284
- For premium dashboards and themes, please refer to the [`Themes section`](/themes) of the
288285
documentation.
289-
-->
290286
291287
- If you are defining custom breakpoint names, please see the
292288
[BootstrapVue settings](/docs/reference/settings) page on how to update BootstrapVue `<b-col>` and

docs/nuxt.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,15 +280,19 @@ module.exports = {
280280
plugins: ['~/plugins/bootstrap-vue.js', '~/plugins/play.js', '~/plugins/docs.js'],
281281

282282
buildModules: ['@nuxtjs/google-analytics'],
283-
modules: ['@nuxtjs/pwa', '@nuxtjs/robots', '@nuxtjs/sitemap'],
283+
modules: ['@nuxt/content', '@nuxtjs/pwa', '@nuxtjs/robots', '@nuxtjs/sitemap'],
284284

285-
'google-analytics': {
285+
googleAnalytics: {
286286
id: GA_TRACKING_ID,
287287
autoTracking: {
288288
exception: true
289289
}
290290
},
291291

292+
content: {
293+
apiPrefix: 'api'
294+
},
295+
292296
// We enable crawling in production docs only
293297
robots: () => {
294298
// In production docs we allow crawling, else we deny crawling

0 commit comments

Comments
 (0)