Skip to content
Merged
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
c9e8dd2
chore: remove default export from directives and components
tmorehouse Aug 29, 2019
1e365e6
Update modal.spec.js
tmorehouse Aug 29, 2019
874ce92
Update popover.js
tmorehouse Aug 29, 2019
a671532
Update scrollspy.js
tmorehouse Aug 29, 2019
79e816f
Update tooltip.js
tmorehouse Aug 29, 2019
d6eaeb3
Update toggle.spec.js
tmorehouse Aug 29, 2019
dc143f4
Update toggle.js
tmorehouse Aug 29, 2019
a787d55
Update visible.js
tmorehouse Aug 29, 2019
07046d0
Update alert.spec.js
tmorehouse Aug 29, 2019
aaa99fd
Update alert.js
tmorehouse Aug 29, 2019
7f493bd
Update badge.spec.js
tmorehouse Aug 29, 2019
cf5285c
Update badge.js
tmorehouse Aug 29, 2019
456fc52
Update breadcrumb-item.spec.js
tmorehouse Aug 29, 2019
f19fccd
Update breadcrumb-link.spec.js
tmorehouse Aug 29, 2019
e5348cb
Update breadcrumb.spec.js
tmorehouse Aug 29, 2019
5a51c89
Update breadcrumb-item.js
tmorehouse Aug 29, 2019
9c5e996
Update breadcrumb-link.js
tmorehouse Aug 29, 2019
82d0bf2
Update breadcrumb.js
tmorehouse Aug 29, 2019
623ebba
Update button-group.spec.js
tmorehouse Aug 29, 2019
1a894c4
Update button-group.js
tmorehouse Aug 29, 2019
b6beabc
Update button-toolbar.spec.js
tmorehouse Aug 29, 2019
25c5d26
Update button-toolbar.js
tmorehouse Aug 29, 2019
29a69d3
Update button-close.spec.js
tmorehouse Aug 29, 2019
cb85760
Update button.spec.js
tmorehouse Aug 29, 2019
a5ad1cf
Update button-close.js
tmorehouse Aug 29, 2019
94dcc59
Update button.js
tmorehouse Aug 29, 2019
9cea9be
Update card-body.spec.js
tmorehouse Aug 29, 2019
4536bea
Update card-footer.spec.js
tmorehouse Aug 29, 2019
241bd8c
Update card-group.spec.js
tmorehouse Aug 29, 2019
9ab55f4
Update card-header.spec.js
tmorehouse Aug 29, 2019
f3105f8
Update card-img-lazy.spec.js
tmorehouse Aug 29, 2019
86d6e1c
Update card-img.spec.js
tmorehouse Aug 29, 2019
69d0ad6
Update card-sub-title.spec.js
tmorehouse Aug 29, 2019
88ef703
Update card-text.spec.js
tmorehouse Aug 29, 2019
7688a2c
Update card-title.spec.js
tmorehouse Aug 29, 2019
794450f
Update card.spec.js
tmorehouse Aug 29, 2019
a2b3531
Update card.js
tmorehouse Aug 29, 2019
8268c98
Update card-title.js
tmorehouse Aug 29, 2019
52c1a91
Update card-text.js
tmorehouse Aug 29, 2019
1ac8d6c
Update card-sub-title.js
tmorehouse Aug 29, 2019
6b9c738
Update card-img.js
tmorehouse Aug 29, 2019
8b31fa4
Update card-img-lazy.js
tmorehouse Aug 29, 2019
e269e8c
Update card-header.js
tmorehouse Aug 29, 2019
e8444d3
Update card-group.js
tmorehouse Aug 29, 2019
aa8066d
Update card-footer.js
tmorehouse Aug 29, 2019
ed32e86
Update card-body.js
tmorehouse Aug 29, 2019
34c3ffc
Update carousel-slide.spec.js
tmorehouse Aug 29, 2019
2aea298
Update carousel.spec.js
tmorehouse Aug 29, 2019
ba10874
Update carousel-slide.js
tmorehouse Aug 29, 2019
0b18255
Update carousel.js
tmorehouse Aug 29, 2019
3f43834
Update collapse.spec.js
tmorehouse Aug 29, 2019
08e0c4e
Update collapse.js
tmorehouse Aug 29, 2019
6a3936d
Update dropdown-divider.spec.js
tmorehouse Aug 29, 2019
e667aac
Update dropdown-form.spec.js
tmorehouse Aug 29, 2019
5241916
Update dropdown-group.spec.js
tmorehouse Aug 29, 2019
3fa8339
Update dropdown-header.spec.js
tmorehouse Aug 29, 2019
381dfa7
Update dropdown-item-button.spec.js
tmorehouse Aug 29, 2019
3e4aa0b
Update dropdown-item.spec.js
tmorehouse Aug 29, 2019
ebe4900
Update dropdown-text.spec.js
tmorehouse Aug 29, 2019
29c5a92
Update dropdown.spec.js
tmorehouse Aug 29, 2019
f5ff7b7
Update dropdown-divider.js
tmorehouse Aug 29, 2019
a19cc68
Update dropdown-form.js
tmorehouse Aug 29, 2019
14072ff
Update dropdown-group.js
tmorehouse Aug 29, 2019
5cbcca5
Update dropdown-header.js
tmorehouse Aug 29, 2019
e12c439
Update dropdown-item-button.js
tmorehouse Aug 29, 2019
db07c96
Update dropdown-item.js
tmorehouse Aug 29, 2019
9fe3a10
Update dropdown-text.js
tmorehouse Aug 29, 2019
cf27679
Update dropdown.js
tmorehouse Aug 29, 2019
23a23a7
Update embed.spec.js
tmorehouse Aug 29, 2019
7373890
Update embed.js
tmorehouse Aug 29, 2019
63cf7d2
Update form-checkbox-group.spec.js
tmorehouse Aug 29, 2019
da96edc
Update form-checkbox.spec.js
tmorehouse Aug 29, 2019
aa9042a
Update form-checkbox-group.js
tmorehouse Aug 29, 2019
7f12bbc
Update form-checkbox.js
tmorehouse Aug 29, 2019
1c3bd31
Update form-file.spec.js
tmorehouse Aug 29, 2019
a9d089e
Update form-file.js
tmorehouse Aug 29, 2019
49d7a39
Update form-group.spec.js
tmorehouse Aug 29, 2019
1d6ad0a
Update form-group.js
tmorehouse Aug 29, 2019
a5723e0
Update form-input.spec.js
tmorehouse Aug 29, 2019
950a183
Update form-input.js
tmorehouse Aug 29, 2019
0ea48df
Update form-radio-group.spec.js
tmorehouse Aug 29, 2019
7285fe2
Update form-radio.spec.js
tmorehouse Aug 29, 2019
4cb159d
Update form-radio-group.js
tmorehouse Aug 29, 2019
2157f22
Update form-radio.js
tmorehouse Aug 29, 2019
781502c
Update form-select.spec.js
tmorehouse Aug 29, 2019
c389e6d
Update form-select.js
tmorehouse Aug 29, 2019
cefc3cb
Update form-textarea.spec.js
tmorehouse Aug 29, 2019
2309d64
Update form-textarea.js
tmorehouse Aug 29, 2019
f487ae8
Update form-datalist.spec.js
tmorehouse Aug 29, 2019
a63eb08
Update form-invalid-feedback.spec.js
tmorehouse Aug 29, 2019
9c3322c
Update form-text.spec.js
tmorehouse Aug 29, 2019
6d1caf1
Update form-valid-feedback.spec.js
tmorehouse Aug 29, 2019
97073a9
Update form.spec.js
tmorehouse Aug 29, 2019
05744a7
Update form-datalist.js
tmorehouse Aug 29, 2019
0678027
Update form-invalid-feedback.js
tmorehouse Aug 29, 2019
e26b954
Update form-text.js
tmorehouse Aug 29, 2019
8490591
Update form-valid-feedback.js
tmorehouse Aug 29, 2019
e98bace
Update form.js
tmorehouse Aug 29, 2019
7571c08
Update img-lazy.spec.js
tmorehouse Aug 29, 2019
1a24e82
Update img.spec.js
tmorehouse Aug 29, 2019
c9d6aaa
Update img-lazy.js
tmorehouse Aug 29, 2019
aa93a88
Update img.js
tmorehouse Aug 29, 2019
716f4be
Update input-group-append.spec.js
tmorehouse Aug 29, 2019
511ce55
Update input-group-prepend.spec.js
tmorehouse Aug 29, 2019
c278c23
Update input-group-text.spec.js
tmorehouse Aug 29, 2019
6e9c991
Update input-group.spec.js
tmorehouse Aug 29, 2019
8733a5a
Update input-group-addon.js
tmorehouse Aug 29, 2019
79de570
Update input-group-append.js
tmorehouse Aug 29, 2019
519f54d
Update input-group-prepend.js
tmorehouse Aug 29, 2019
2e74265
Update input-group-text.js
tmorehouse Aug 29, 2019
0577cd5
Update input-group.js
tmorehouse Aug 29, 2019
6ee7304
Update jumbotron.spec.js
tmorehouse Aug 29, 2019
d84281d
Update jumbotron.js
tmorehouse Aug 29, 2019
bf1d102
Update col.spec.js
tmorehouse Aug 29, 2019
7ac2600
Update container.spec.js
tmorehouse Aug 29, 2019
e32ddd2
Update form-row.spec.js
tmorehouse Aug 29, 2019
2dab4f5
Update row.spec.js
tmorehouse Aug 29, 2019
02592c2
Update col.js
tmorehouse Aug 29, 2019
1a7b0b9
Update container.js
tmorehouse Aug 29, 2019
76f2df7
Update form-row.js
tmorehouse Aug 29, 2019
568f877
Update row.js
tmorehouse Aug 29, 2019
431d869
Update link.spec.js
tmorehouse Aug 29, 2019
7a5806c
Update link.js
tmorehouse Aug 29, 2019
5315adb
Update list-group-item.spec.js
tmorehouse Aug 29, 2019
7b1ca4a
Update list-group.spec.js
tmorehouse Aug 29, 2019
100dfb9
Update list-group-item.js
tmorehouse Aug 29, 2019
255ba42
Update list-group.js
tmorehouse Aug 29, 2019
3a69821
Update media-aside.spec.js
tmorehouse Aug 29, 2019
e1b2a08
Update media-body.spec.js
tmorehouse Aug 29, 2019
ae13998
Update media.spec.js
tmorehouse Aug 29, 2019
f90afa9
Update media-aside.js
tmorehouse Aug 29, 2019
cb5fc6c
Update media-body.js
tmorehouse Aug 29, 2019
694b275
Update media.js
tmorehouse Aug 29, 2019
3718c5b
Update tabs.spec.js
tmorehouse Aug 29, 2019
8f3eb90
Update tab.spec.js
tmorehouse Aug 29, 2019
59e42fc
Update tab.js
tmorehouse Aug 29, 2019
d97610b
Update tabs.js
tmorehouse Aug 29, 2019
260f3f9
Update nav-form.spec.js
tmorehouse Aug 29, 2019
85c85c7
Update nav-item-dropdown.spec.js
tmorehouse Aug 29, 2019
0b9a9dd
Update nav-item.spec.js
tmorehouse Aug 29, 2019
524a962
Update nav-text.spec.js
tmorehouse Aug 29, 2019
b02cd18
Update nav.spec.js
tmorehouse Aug 29, 2019
2d638fe
Update nav-form.js
tmorehouse Aug 29, 2019
b06c9e4
Update nav-item-dropdown.js
tmorehouse Aug 29, 2019
ec3f893
Update nav-item.js
tmorehouse Aug 29, 2019
967b4b3
Update nav-text.js
tmorehouse Aug 29, 2019
c99535e
Update nav.js
tmorehouse Aug 29, 2019
bbf287b
Update bv-modal.js
tmorehouse Aug 29, 2019
c8357c3
Update modal.spec.js
tmorehouse Aug 29, 2019
f0edcc0
Update modal.js
tmorehouse Aug 29, 2019
76ba17e
Update bv-modal-event.class.js
tmorehouse Aug 29, 2019
9f53b6e
Update bv-event.class.spec.js
tmorehouse Aug 29, 2019
0b6c469
Update bv-modal-event.class.js
tmorehouse Aug 29, 2019
bcd2c31
Update bv-event.class.js
tmorehouse Aug 29, 2019
2141eeb
Update dropdown.js
tmorehouse Aug 29, 2019
2ca96fb
Update toast.js
tmorehouse Aug 29, 2019
6994d2c
Update toast.spec.js
tmorehouse Aug 29, 2019
0baface
Update toaster.spec.js
tmorehouse Aug 29, 2019
36a931e
Update toast.js
tmorehouse Aug 29, 2019
82e4713
Update toaster.js
tmorehouse Aug 29, 2019
a6ad67a
Update bv-modal-event.class.spec.js
tmorehouse Aug 29, 2019
7cd6b56
Update modal.js
tmorehouse Aug 29, 2019
2ace157
Update modal-manager.js
tmorehouse Aug 29, 2019
df9dc28
Update modal.js
tmorehouse Aug 29, 2019
a3beead
Update navbar-brand.spec.js
tmorehouse Aug 29, 2019
0aeca1f
Update navbar-nav.spec.js
tmorehouse Aug 29, 2019
3893e93
Update navbar-toggle.spec.js
tmorehouse Aug 29, 2019
5c1f1f7
Update navbar.spec.js
tmorehouse Aug 29, 2019
ffa751b
Update navbar-brand.js
tmorehouse Aug 29, 2019
ef11ce9
Update navbar-nav.js
tmorehouse Aug 29, 2019
bc65ab7
Update navbar.js
tmorehouse Aug 29, 2019
0932964
Merge branch 'dev' into tmorehouse/no-default-exports
jacobmllr95 Aug 29, 2019
b5e4944
Update navbar-toggle.js
tmorehouse Aug 29, 2019
1f06536
Update pagination-nav.spec.js
tmorehouse Aug 29, 2019
add75c3
Update pagination-nav.js
tmorehouse Aug 29, 2019
3a43799
Update pagination.spec.js
tmorehouse Aug 29, 2019
2178107
Update pagination.js
tmorehouse Aug 29, 2019
b350a6f
Update popover.spec.js
tmorehouse Aug 29, 2019
428a182
Update popover.js
tmorehouse Aug 29, 2019
a1c534e
Update progress-bar.spec.js
tmorehouse Aug 29, 2019
82614d6
Update progress.spec.js
tmorehouse Aug 29, 2019
67d153f
Update progress-bar.js
tmorehouse Aug 29, 2019
74abcee
Update progress.js
tmorehouse Aug 29, 2019
3e54231
Update spinner.spec.js
tmorehouse Aug 29, 2019
d41aadb
Update spinner.js
tmorehouse Aug 29, 2019
b72192b
Update table-busy.spec.js
tmorehouse Aug 29, 2019
a41b292
Update table-caption.spec.js
tmorehouse Aug 29, 2019
349c117
Update table-colgroup.spec.js
tmorehouse Aug 29, 2019
7f6e9ec
Update table-filtering.spec.js
tmorehouse Aug 29, 2019
4fc468f
Update table-item-formatter.spec.js
tmorehouse Aug 29, 2019
22e768e
Update table-lite.spec.js
tmorehouse Aug 29, 2019
ed4b7d6
Update table-pagination.spec.js
tmorehouse Aug 29, 2019
513c3c0
Update table-primarykey.spec.js
tmorehouse Aug 29, 2019
ed95261
Update table-provider.spec.js
tmorehouse Aug 29, 2019
829ea80
Update table-row-details.spec.js
tmorehouse Aug 29, 2019
9525009
Update table-selectable.spec.js
tmorehouse Aug 29, 2019
33b5397
Update table-simple.spec.js
tmorehouse Aug 29, 2019
f50f992
Update table-sorting.spec.js
tmorehouse Aug 29, 2019
e1f3f3d
Update table-tbody-bottom-row.spec.js
tmorehouse Aug 29, 2019
12c06b2
Update table-tbody-row-events.spec.js
tmorehouse Aug 29, 2019
cfcaf1d
Update table-tbody-top-row.spec.js
tmorehouse Aug 29, 2019
a964e4d
Update table-tbody-transition.spec.js
tmorehouse Aug 29, 2019
10190b2
Update table-tfoot-events.spec.js
tmorehouse Aug 29, 2019
868c381
Update table-thead-events.spec.js
tmorehouse Aug 29, 2019
42f8251
Update table-thead-top.spec.js
tmorehouse Aug 29, 2019
7a038d6
Update table.spec.js
tmorehouse Aug 29, 2019
b5e7266
Update table-lite.js
tmorehouse Aug 29, 2019
5240a51
Update table-simple.js
tmorehouse Aug 29, 2019
b9e28a9
Update table.js
tmorehouse Aug 29, 2019
005938b
Update tooltip.spec.js
tmorehouse Aug 29, 2019
7eb9df8
Update tooltip.js
tmorehouse Aug 29, 2019
2a8d4fe
chore(b-link): only add the `nativeOn` property to componentData when…
tmorehouse Aug 29, 2019
9a56df7
Update link.js
tmorehouse Aug 29, 2019
cd8b698
Merge branch 'dev' into tmorehouse/b-link-native-on
tmorehouse Aug 29, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions src/components/link/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ export const BLink = /*#__PURE__*/ Vue.extend({
const href = this.computedHref
const isRouterLink = this.isRouterLink

// We want to overwrite any click handler since our callback
// will invoke the user supplied handler9s) if !props.disabled
const handlers = { ...this.$listeners, click: this.onClick }

const componentData = {
class: { active: this.active, disabled: this.disabled },
attrs: {
Expand All @@ -170,9 +166,16 @@ export const BLink = /*#__PURE__*/ Vue.extend({
: this.$attrs.tabindex,
'aria-disabled': this.disabled ? 'true' : null
},
props: this.computedProps,
on: isRouterLink ? {} : handlers,
nativeOn: isRouterLink ? handlers : {}
props: this.computedProps
}
// Add the event handlers. We must use `navtiveOn` for
// `<router-link>`/`<nuxt-link>` instead of `on`
componentData[isRouterLink ? 'nativeOn' : 'on'] = {
// Transfer all listeners (native) to the root element
...this.$listeners,
// We want to overwrite any click handler since our callback
// will invoke the user supplied handler(s) if `!this.disabled`
click: this.onClick
}

// If href attribute exists on <router-link> (even undefined or null) it fails working on
Expand Down