Skip to content

chore: release 2.0.0-rc.17 #2978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 85 commits into from
Apr 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
ec87fd7
chore(deps): update all non-major dependencies (#2932)
renovate[bot] Mar 28, 2019
03276c4
chore(deps): update dependency esm to ^3.2.22 (#2942)
renovate[bot] Mar 29, 2019
c6abfd0
fix(docs): fix issue with table docs page (closes #2939) (#2940)
tmorehouse Mar 29, 2019
a798fb7
chore(embed): fix typos in docs
tmorehouse Mar 29, 2019
b7f8879
chore(tab): deprecate use of `href` prop (#2944)
tmorehouse Mar 29, 2019
97e8ece
fix(link): support handling multiple click event listeners (fixes #29…
tmorehouse Mar 29, 2019
8058c03
fix(form-group): don't render aria-labelledby on group when label-for…
tmorehouse Mar 29, 2019
fff8795
fix(docs): add back missing leading slash to search urls (#2947)
jacobmllr95 Mar 29, 2019
4dba93c
chore(docs): disabled autocomplete on search input (#2950)
tmorehouse Mar 29, 2019
a713dd4
feat(scrollspy): support when vue-router is in `hash` based route mod…
tmorehouse Mar 29, 2019
07f8c92
chore(unit testing): more test conversions (#2954)
tmorehouse Mar 29, 2019
50180f4
chore(deps): update dependency eslint to ^5.16.0 (#2955)
renovate[bot] Mar 30, 2019
0dbac00
chore(docs): minor pagination-nav update
tmorehouse Mar 30, 2019
4226051
fix(modal); fix exiting fade animation on backdrop (#2962)
tmorehouse Mar 30, 2019
0c3a7b0
fix(env): check for undefined on process (closes #2958) (#2959)
tmorehouse Mar 30, 2019
3bf3622
fix(modal): prevent page scroll as modal opens (#2963)
tmorehouse Mar 31, 2019
a87dab2
Update progress.spec.js
tmorehouse Mar 31, 2019
d533630
chore(docs): add meta description for docs pages (#2957)
tmorehouse Mar 31, 2019
a2f898b
chore(dropdown): switch to `::` from `:` pseudo selectors (#2965)
tmorehouse Mar 31, 2019
cbf24c3
fix(docs): fix component plugin's included plugins and directives (#2…
tmorehouse Mar 31, 2019
d30fafe
chore: more unit test conversion (#2964)
tmorehouse Mar 31, 2019
835bb02
chore(alert): code refactoring (closes #2967) (#2969)
tmorehouse Apr 1, 2019
6964f7b
docs(table): make examples work better on small screens (#2970)
tmorehouse Apr 1, 2019
0417f7b
feat(docs): algolia powered search (#2952)
jacobmllr95 Apr 1, 2019
afde4c8
chore(unit testing): img, nav and form test conversion (#2971)
tmorehouse Apr 1, 2019
7300c1f
chore(unit testing): convert jumbotron test (#2973)
tmorehouse Apr 1, 2019
a426465
docs: minor update to form lead-in example (#2976)
tmorehouse Apr 1, 2019
c9f2728
chore(deps): update dependency eslint-plugin-promise to ^4.1.0 (#2977)
renovate[bot] Apr 1, 2019
d9d4d88
chore(unit testing): dropdown tests (#2974)
tmorehouse Apr 1, 2019
84a6510
Merge branch 'master' into dev
tmorehouse Apr 1, 2019
cf4d73f
chore(deps): update all non-major dependencies (#2980)
renovate[bot] Apr 1, 2019
90c1225
chore(unit tests): collapse tests (#2979)
tmorehouse Apr 2, 2019
7be99a8
chore(docs): minor adjustments to tooltip docs (#2981)
tmorehouse Apr 2, 2019
40f6cb7
fix(utils/get): handle case when nested value is falsy (#2982)
jonfunkhouser Apr 2, 2019
18f9a2c
chore(unit testing): convert b-link tests (#2983)
tmorehouse Apr 2, 2019
db0df4b
Update form-group.js
tmorehouse Apr 2, 2019
e965772
Update form-group.js
tmorehouse Apr 2, 2019
b4f8520
Update all non-major dependencies (#2985)
renovate[bot] Apr 2, 2019
f80f8df
chore(unit testing): form-group test conversion (#2984)
tmorehouse Apr 2, 2019
63985da
chore: remove old test files (#2986)
tmorehouse Apr 2, 2019
e84c4a7
fix(breadcrumb-item): remove `role="presentation"` (#2991)
jacobmllr95 Apr 2, 2019
a009de0
chore(deps): update all non-major dependencies to ^7.4.3 (#2992)
renovate[bot] Apr 2, 2019
fa1ee79
chore(deps): update dependency @nuxt/opencollective to ^0.2.2 (#2995)
renovate[bot] Apr 3, 2019
df2e77a
fix(pagination): reset to page 1 when total-rows or per-page changes …
tmorehouse Apr 3, 2019
9150973
chore(unit testing): modal test updates (#2994)
tmorehouse Apr 3, 2019
ff94b10
chore(deps): update all non-major dependencies (#2996)
renovate[bot] Apr 3, 2019
60a4cca
docs(table): minor updates to table complete example (#2997)
tmorehouse Apr 3, 2019
7373464
chore(deps): update dependency codecov to ^3.3.0 (#2998)
renovate[bot] Apr 3, 2019
607eb9e
chore(unit testing): convert tooltip and popover tests (#3000)
tmorehouse Apr 3, 2019
d9a9a82
chore(deps): update all non-major dependencies to ^24.7.1 (#3002)
renovate[bot] Apr 4, 2019
cb5bcd7
chore(deps): update dependency rollup-plugin-commonjs to ^9.3.1 (#3003)
renovate[bot] Apr 4, 2019
0d3599a
fix(tooltip/popover): prevent double show/shown event emits when .syn…
tmorehouse Apr 4, 2019
7e449ec
chore(deps): update dependency rollup-plugin-commonjs to ^9.3.3 (#3004)
renovate[bot] Apr 4, 2019
df843f5
Fixed the closing tag for b-table (#3005)
SubodhDahal Apr 4, 2019
9b19fd7
chore(deps): update dependency popper.js to ^1.15.0 (#3007)
renovate[bot] Apr 4, 2019
f742aa9
fix(pagination-nav): better current page detection in IE (#3006)
tmorehouse Apr 4, 2019
b5b18d9
chore(deps): update dependency nuxt to ^2.6.0 (#3010)
renovate[bot] Apr 4, 2019
1fd51bd
chore(deps): update all non-major dependencies (#3011)
renovate[bot] Apr 4, 2019
547477b
chore(unit testing): convert carousel tests to vue-test-utils (#3009)
tmorehouse Apr 4, 2019
436e8c1
feat(table): add TypeScript definitions for table fields (#2867)
Apr 4, 2019
0043b92
fix(form-textarea): improved computedHeight calculation when in auto …
Istador Apr 5, 2019
f5b675b
chore(deps): update dependency rollup-plugin-node-resolve to ^4.1.0 (…
renovate[bot] Apr 5, 2019
65becf9
chore(deps): update dependency rollup to ^1.9.0 (#3016)
renovate[bot] Apr 5, 2019
3b2fe73
chore(deps): update dependency marked to ^0.6.2 (#3019)
renovate[bot] Apr 5, 2019
87d2f15
chore: tests cleanup (#3018)
jacobmllr95 Apr 5, 2019
aee64ae
chore: fix b-pagination component name (#3022)
tmorehouse Apr 5, 2019
6b36d0d
fix(v-b-toggle/b-collapse): ensure toggle remains in sync with collap…
tmorehouse Apr 5, 2019
62a6207
chore(core): use Vue.extend() for component definitions (#2915)
tmorehouse Apr 6, 2019
8415ec4
chore(deps): update all non-major dependencies (#3026)
renovate[bot] Apr 6, 2019
d903008
chore(deps): update dependency rollup-plugin-node-resolve to ^4.2.1 (…
renovate[bot] Apr 6, 2019
891e8cc
fix(modal): stacked modal z-index calculations (closes #3015) (#3017)
jacobmllr95 Apr 7, 2019
ad57e8c
fix(modal): prevent close on backdrop when click initiated inside mod…
tmorehouse Apr 7, 2019
786b2e4
chore(docs): fix typo in table complete example (#3030)
tmorehouse Apr 7, 2019
f4e617a
docs: custom marked formatter for lead-in blockquotes (#3031)
tmorehouse Apr 7, 2019
e03de63
chore(deps): update dependency autoprefixer to ^9.5.1 (#3032)
renovate[bot] Apr 7, 2019
502eba9
feat(BvEvent): subclass BvEvent as BvModalEvent (#3024)
tmorehouse Apr 7, 2019
680a321
chore(docs): minor update to carousel docs formatting
tmorehouse Apr 7, 2019
56aa52f
chore(docs): minor update to card docs formatting
tmorehouse Apr 7, 2019
c72b12b
chore(docs): minor updates to form docs
tmorehouse Apr 7, 2019
944af8a
chore(docs): image docs minor updates
tmorehouse Apr 7, 2019
eea4c94
chore(docs): collapse docs minor update
tmorehouse Apr 7, 2019
771424c
chore: prettify (#3034)
jacobmllr95 Apr 7, 2019
e5c0aa5
feat(modal): auto return focus to trigger elements using document.act…
tmorehouse Apr 7, 2019
144be2d
chore(build): ensure Vue is excluded from `bootstrap-vue.esm.js` buil…
tmorehouse Apr 8, 2019
85e6905
chore: bump version (#3035)
tmorehouse Apr 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
96 changes: 91 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,96 @@
# Changelog

All notable changes to this project will be documented in this file. See
[standard-version](https://github.com/conventional-changelog/standard-version) for commit
guidelines.

<a name="2.0.0-rc.15"></a>
> All notable changes to this project will be documented in this file. See
> [standard-version](https://github.com/conventional-changelog/standard-version) for commit
> guidelines.

<a name="2.0.0-rc.17"></a>

## [v2.0.0-rc.17](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.0.0-rc.16...v2.0.0-rc.17)

Released 2019-04-07

### Bug Fixes v2.0.0-rc.17

- **breadcrumb-item:** remove atribute `role="presentation"` for better ARIA support
([#2991](https://github.com/bootstrap-vue/bootstrap-vue/issues/2991))
([e84c4a7](https://github.com/bootstrap-vue/bootstrap-vue/commit/e84c4a7))
- **docs:** add back missing leading slash to search urls
([#2947](https://github.com/bootstrap-vue/bootstrap-vue/issues/2947))
([fff8795](https://github.com/bootstrap-vue/bootstrap-vue/commit/fff8795))
- **docs:** fix component plugin's included plugins and directives
([#2966](https://github.com/bootstrap-vue/bootstrap-vue/issues/2966))
([cbf24c3](https://github.com/bootstrap-vue/bootstrap-vue/commit/cbf24c3))
- **docs:** fix issue with table docs page (closes
[#2939](https://github.com/bootstrap-vue/bootstrap-vue/issues/2939))
([#2940](https://github.com/bootstrap-vue/bootstrap-vue/issues/2940))
([c6abfd0](https://github.com/bootstrap-vue/bootstrap-vue/commit/c6abfd0))
- **env:** check for undefined on process (closes
[#2958](https://github.com/bootstrap-vue/bootstrap-vue/issues/2958))
([#2959](https://github.com/bootstrap-vue/bootstrap-vue/issues/2959))
([0c3a7b0](https://github.com/bootstrap-vue/bootstrap-vue/commit/0c3a7b0))
- **form-group:** don't render `aria-labelledby` on group when `label-for` provided (fixes
[#2933](https://github.com/bootstrap-vue/bootstrap-vue/issues/2933))
([#2936](https://github.com/bootstrap-vue/bootstrap-vue/issues/2936))
([8058c03](https://github.com/bootstrap-vue/bootstrap-vue/commit/8058c03))
- **form-textarea:** improved computedHeight calculation when in auto resize mode
([#3012](https://github.com/bootstrap-vue/bootstrap-vue/issues/3012))
([0043b92](https://github.com/bootstrap-vue/bootstrap-vue/commit/0043b92))
- **link:** support handling multiple click event listeners (fixes
[#2938](https://github.com/bootstrap-vue/bootstrap-vue/issues/2938))
([#2943](https://github.com/bootstrap-vue/bootstrap-vue/issues/2943))
([97e8ece](https://github.com/bootstrap-vue/bootstrap-vue/commit/97e8ece))
- **modal:** prevent close on backdrop when click initiated inside modal content (fixes
[#3025](https://github.com/bootstrap-vue/bootstrap-vue/issues/3025))
([#3029](https://github.com/bootstrap-vue/bootstrap-vue/issues/3029))
([ad57e8c](https://github.com/bootstrap-vue/bootstrap-vue/commit/ad57e8c))
- **modal:** prevent page scroll as modal opens
([#2963](https://github.com/bootstrap-vue/bootstrap-vue/issues/2963))
([3bf3622](https://github.com/bootstrap-vue/bootstrap-vue/commit/3bf3622))
- **modal:** improve stacked modal z-index calculations (closes
[#3015](https://github.com/bootstrap-vue/bootstrap-vue/issues/3015))
([#3017](https://github.com/bootstrap-vue/bootstrap-vue/issues/3017))
([891e8cc](https://github.com/bootstrap-vue/bootstrap-vue/commit/891e8cc))
- **pagination:** reset to page 1 when `total-rows` or `per-page` changes (closes
[#2987](https://github.com/bootstrap-vue/bootstrap-vue/issues/2987))
([#2993](https://github.com/bootstrap-vue/bootstrap-vue/issues/2993))
([df2e77a](https://github.com/bootstrap-vue/bootstrap-vue/commit/df2e77a))
- **pagination-nav:** better current page detection in IE
([#3006](https://github.com/bootstrap-vue/bootstrap-vue/issues/3006))
([f742aa9](https://github.com/bootstrap-vue/bootstrap-vue/commit/f742aa9))
- **tooltip/popover:** prevent double show/shown event emits when `.sync` modifier used (fixes
[#1637](https://github.com/bootstrap-vue/bootstrap-vue/issues/1637))
([#3001](https://github.com/bootstrap-vue/bootstrap-vue/issues/3001))
([0d3599a](https://github.com/bootstrap-vue/bootstrap-vue/commit/0d3599a))
- **utils/get:** handle case when nested value is falsy
([#2982](https://github.com/bootstrap-vue/bootstrap-vue/issues/2982))
([40f6cb7](https://github.com/bootstrap-vue/bootstrap-vue/commit/40f6cb7))
- **v-b-toggle/b-collapse:** ensure toggle remains in sync with collapse (Closes
[#3020](https://github.com/bootstrap-vue/bootstrap-vue/issues/3020))
([#3021](https://github.com/bootstrap-vue/bootstrap-vue/issues/3021))
([6b36d0d](https://github.com/bootstrap-vue/bootstrap-vue/commit/6b36d0d))

### Features v2.0.0-rc.17

- **docs:** algolia powered search
([#2952](https://github.com/bootstrap-vue/bootstrap-vue/issues/2952))
([0417f7b](https://github.com/bootstrap-vue/bootstrap-vue/commit/0417f7b))
- **modal:** auto return focus to trigger element using previous document.activeElement if no
return focus element provided
([#3033](https://github.com/bootstrap-vue/bootstrap-vue/issues/3033))
([e5c0aa5](https://github.com/bootstrap-vue/bootstrap-vue/commit/e5c0aa5))
- **modal:** subclass `BvEvent` as `BvModalEvent` for modal specific properties
([#3024](https://github.com/bootstrap-vue/bootstrap-vue/issues/3024))
([502eba9](https://github.com/bootstrap-vue/bootstrap-vue/commit/502eba9))
- **table:** add TypeScript definitions for table fields
([#2867](https://github.com/bootstrap-vue/bootstrap-vue/issues/2867))
([436e8c1](https://github.com/bootstrap-vue/bootstrap-vue/commit/436e8c1))
- **v-b-scrollspy:** support when vue-router is in `hash` based route mode (closes
[#2722](https://github.com/bootstrap-vue/bootstrap-vue/issues/2722))
([#2953](https://github.com/bootstrap-vue/bootstrap-vue/issues/2953))
([a713dd4](https://github.com/bootstrap-vue/bootstrap-vue/commit/a713dd4))

<a name="2.0.0-rc.16"></a>

## [v2.0.0-rc.16](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.0.0-rc.15...v2.0.0-rc.16)

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

👍🎉 First off, thanks for taking the time to contribute! 🎉👍
> 👍🎉 First off, thanks for taking the time to contribute! 🎉👍

## Playground & Issue Reports

Expand Down
37 changes: 37 additions & 0 deletions docs/assets/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,46 @@ pre.editable.error:after {
background-color: rgba(255, 0, 0, 0.1);
}

/* Additional styling for (responsive) markdown tables */
.bv-docs-table {
font-size: 90%;

thead > tr > th {
min-width: 80px;
}

code {
white-space: nowrap !important;
}
}

/* CSS for table transition example */
table#table-transition-example {
.flip-list-move {
transition: transform 1s;
}
}

/*
* Docsearch overrides
* See: https://github.com/twbs/bootstrap/blob/master/site/static/docs/4.3/assets/scss/_algolia.scss
*/
.algolia-autocomplete {
.ds-dropdown-menu {
background: #fff !important;
border: 1px solid rgba(0, 0, 0, 0.1) !important;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175) !important;

.ds-suggestions {
@media (min-width: 768px) {
max-height: calc(100vh - 12rem);
overflow-y: auto;
}

.algolia-docsearch-suggestion--subcategory-inline,
.algolia-docsearch-suggestion--title {
display: inline-block !important;
}
}
}
}
83 changes: 49 additions & 34 deletions docs/components/componentdoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,25 @@
<b-table
:items="propsItems"
:fields="propsFields"
class="bv-docs-table"
responsive="sm"
small
head-variant="default"
striped
>
<template slot="prop" slot-scope="{ value }">
<code>{{ value }}</code>
<template slot="prop" slot-scope="{ value, item }">
<code class="text-nowrap">{{ value }}</code>
<b-badge v-if="item.required" variant="info">Required</b-badge>
<b-badge v-else-if="item.deprecated" variant="danger">Deprecated</b-badge>
<b-badge v-else-if="item.deprecation" variant="warning">Deprecation</b-badge>
</template>
<template slot="row-details" slot-scope="{ item }">
<b-badge variant="warning">
{{ typeof item.deprecated === 'string' ? 'deprecation' : 'deprecated' }}
</b-badge>
<!-- If deprecated is a string, show the string value -->
<small v-if="typeof item.deprecated === 'string'">{{ item.deprecated }}</small>
<p v-if="typeof item.deprecated === 'string'" class="mb-1 small">
{{ item.deprecated }}
</p>
<p v-if="typeof item.deprecation === 'string'" class="mb-1 small">
{{ item.deprecation }}
</p>
</template>
<template slot="defaultValue" slot-scope="{ value }">
<code v-if="value">{{ value }}</code>
Expand All @@ -56,6 +62,8 @@
<b-table
:items="[componentVModel]"
:fields="['prop', 'event']"
class="bv-docs-table"
responsive="sm"
small
head-variant="default"
striped
Expand All @@ -77,10 +85,16 @@
<b-table
:items="slots"
:fields="slotsFields"
class="bv-docs-table"
responsive="sm"
small
head-variant="default"
striped
></b-table>
>
<template slot="name" slot-scope="{ value }">
<code class="text-nowrap">{{ value }}</code>
</template>
</b-table>
</article>

<article v-if="events && events.length > 0">
Expand All @@ -90,17 +104,22 @@
<b-table
:items="events"
:fields="eventsFields"
class="bv-docs-table"
responsive="sm"
small
head-variant="default"
striped
>
<template slot="event" slot-scope="{ value }">
<code class="text-nowrap">{{ value }}</code>
</template>
<template slot="args" slot-scope="{ value, item }">
<div
v-for="arg in value"
:key="`event-${item.event}-${arg.arg ? arg.arg : 'none'}`"
>
<template v-if="arg.arg"><code>{{ arg.arg }}</code> - </template>
<span v-html="arg.description"></span>
<template v-if="arg.arg"><code class="text-nowrap">{{ arg.arg }}</code> - </template>
<span>{{ arg.description }}</span>
</div>
</template>
</b-table>
Expand All @@ -117,17 +136,24 @@
<b-table
:items="rootEventListeners"
:fields="rootEventListenersFields"
class="bv-docs-table"
responsive="sm"
small
head-variant="default"
striped
>
<template slot="event" slot-scope="{ value }">
<code class="text-nowrap">{{ value }}</code>
</template>
<template slot="args" slot-scope="{ value, item }">
<div
v-for="arg in value"
:key="`event-${item.event}-${arg.arg ? arg.arg : 'none'}`"
>
<template v-if="arg.arg"><code>{{ arg.arg }}</code> - </template>
<span v-html="arg.description"></span>
<template v-if="arg.arg">
<code class="text-nowrap">{{ arg.arg }}</code>
<span v-if="arg.description"> - {{ arg.description }}</span>
</template>
</div>
</template>
</b-table>
Expand Down Expand Up @@ -181,8 +207,12 @@ export default {
let options = {}
if (!component.options && typeof component === 'function') {
// Async component that hans't been resolved yet
component(opts => {
options = opts ? { ...opts } : {}
component(cmp => {
if (Object.prototype.toString.call(cmp) === '[object Object]') {
options = { ...cmp }
} else if (cmp && cmp.options) {
options = cmp.options
}
})
} else {
// Regular component
Expand All @@ -203,22 +233,11 @@ export default {
return this.componentOptions.props || {}
},
propsFields() {
const props = this.componentProps
const hasRequired = Object.keys(props).some(p => props[p].required)

const fields = [
return [
{ key: 'prop', label: 'Property' },
{ key: 'type', label: 'Type' },
{ key: 'defaultValue', label: 'Default Value' }
]

// Add the required column if there are required field(s)
if (hasRequired) {
// Insert required field after prop name
fields.splice(1, 0, { key: 'required', label: 'Required' })
}

return fields
},
eventsFields() {
return [
Expand Down Expand Up @@ -267,19 +286,15 @@ export default {
}
defaultVal = (defaultVal || '').replace(/"/g, "'")

// Requied prop?
const required = p.required ? 'Yes' : ''
// Deprecation?
const deprecated = p.deprecated || false

return {
prop: kebabCase(prop),
type,
required,
typeClass,
defaultValue: defaultVal,
deprecated,
_showDetails: !!deprecated
required: p.required || false,
deprecated: p.deprecated || false,
deprecation: p.deprecation || false,
_showDetails: typeof p.deprecated === 'string' || typeof p.deprecation === 'string'
}
})
},
Expand Down
Loading