Skip to content

Augment Using Vue - #4236

Merged
wesdevpro merged 2 commits into
devfrom
FixVueAugment
Aug 24, 2025
Merged

wesdevpro merged 2 commits into
devfrom
FixVueAugment

Conversation

@wesdevpro

@wesdevpro wesdevpro commented Aug 24, 2025 •

Copy link
Copy Markdown
Member

This follows the Vue documentation:

https://vuejs.org/guide/typescript/options-api.html#augmenting-global-properties

Fixes #4232 - see issue for details.

See original PR: #4233

@wesdevpro wesdevpro self-assigned this Aug 24, 2025
@wesdevpro wesdevpro changed the title Fix vue augment Augment Using Vue Aug 24, 2025
@wesdevpro
wesdevpro marked this pull request as ready for review August 24, 2025 23:43
@wesdevpro
wesdevpro merged commit 962041c into dev Aug 24, 2025
@wesdevpro
wesdevpro deleted the FixVueAugment branch August 24, 2025 23:45
@netlify

netlify Bot commented Aug 25, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for buefyv3 ready!

Name Link
🔨 Latest commit 3deb72a
🔍 Latest deploy log https://app.netlify.com/projects/buefyv3/deploys/68abaad170fe9100086fab68
😎 Deploy Preview https://deploy-preview-4236--buefyv3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

wesdevpro added a commit that referenced this pull request Aug 29, 2025
* Add Missing Span to NavBurger (#4204)

* chore: add missing span to navburger

* chore: update package-lock file.

* Update Buefy Footer (#4202)

* chore: update buefy footer

* chore: update navbar links

* chore: fix linting issues

* chore: remove old modal fix (#4205)

* chore(lib): use forward in buefy main sass file (#4210)

* Fix: Restore Autocomplete Arrow Key Hover Styles (#4211)

* chore: add autocomplete arrow key hover styles

* fix: retrieve the variable using cv.getvar from bulma

* chore: use the new hsl color system for on hover

* chore: register the background hover delta variables

* chore: use css

* Prepare for publish (#4225)

* chore: update changelog

* chore: bump to v3.0.1

* Update StackBlitz (#4227)

* chore: update stackblitz buefy version

* chore: implement sass in stackblitz examples

* fix: remove extra font import

* Bubble Up Table Mouse Events (#4229)

* chore: attempt to bubble up mouse events

* chore: add types

* Fix: Table did not emit mouseenter and mouseleave events (#4234)

* fix(lib): Table did not emit mouseenter/leave

Fixes the issue that `Table` did not emit "mouseenter", and "mouseleave"
events by
- removing "mouseenter" and "mouseleave" from the `emits` listing,
  because they are "specially" handled
- fixing the listener name used by the `emitEventForRow` function

"mouseenter", and "mouseleave" events are specially handled by the
`emitEventForRow` function. The problem was the `emitEventForRow`
function tried to get an event listener from `$attrs` with a wrong name.
For instance, the old code specified "onmouseenter" while "onMouseenter"
was expected.

The `emitEventForRow` function was introduced by the PR #3236. But the
original idea of the special treatment of events dates back to the PR
whether the justification of the PR is still relevant to Vue 3 but
retain it for now.

* fix(docs): wrong arg order in Table's ExSimple example

Fixes the issue that the `ExSimple` example of `Table` picked a wrong
argument from "mouseenter", and "mouseleave" events. A `TableRow` comes
first.

* chore: revert changes to table's simple example

---------

Co-authored-by: Kikuo Emoto <kemoto@codemonger.io>

* Augment Using Vue (#4236)

* Augment 'vue' instead of '@vue/runtime-core' to register global $buefy property

This follows the recommended syntax:

https://vuejs.org/guide/typescript/options-api.html#augmenting-global-properties

Fixes #4232.

* fix(types): follow vue-router@4.5.1 and augment 'vue' instead of '@vue/runtime-core'

---------

Co-authored-by: Elte Hupkes <elte@hupkes.org>

* Extend Buefy CSS with Built Versions (#4235)

* chore: extend Buefy CSS with covenantal variants

* chore: make the buefy + bulma  css bundle the default file

* chore: update the docs

* chore: update buefy css path (#4237)

* Update Navbar Icon Colors and Fix Navburger (#4238)

* chore: make navbar icons the same color as text

* fix(docs): add missing span in navburger

* Prepare to publish (#4242)

* chore: bump to v3.0.2

* chore: update changelog

---------

Co-authored-by: Kikuo Emoto <kemoto@codemonger.io>
Co-authored-by: Elte Hupkes <elte@hupkes.org>
@wesdevpro wesdevpro mentioned this pull request Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Importing Buefy erases types other global component properties

2 participants