github ntohq/buefy-next v0.0.3-next

latest release: v0.1.3-next
one month ago

Change Log

Buefy-next 0.1.3 includes all the relevant changes until Buefy 0.9.29.

Breaking changes
You can no longer install @ntohq/buefy-next directly from the GitHub repository. You can try developer releases instead. See https://github.com/ntohq/buefy-next/pkgs/npm/buefy-next
New features
The following components introduce a new prop compat-fallthrough, which determines whether the class, style, and id attributes are applied to the root element or the underlying element. If compat-fallthrough is true, they are applied to the root element, which is compatible with Buefy for Vue 2. The default value can be controlled by the defaultCompatFallthrough config option (true by default). #16

BAutocomplete:

If compat-fallthrough is true, the attributes fall through to the root

element, otherwise to the underlying BInput.

BBreadcrumbItem:

If compat-fallthrough is true, the attributes fall through to the root

  • element, otherwise to the underlying tag.

    BClockpicker:

    If compat-fallthrough is true, the attributes fall through to the root

    element, otherwise to the underlying BInput.

    BDatepicker:

    If compat-fallthrough is true, the attributes fall through to the root

    element, otherwise to the underlying BInput.

    BInput:

    If compat-fallthrough is true, the attributes fall through to the root

    element, otherwise to either of or <textarea> element.

    BMenuItem:

    If compat-fallthrough is true, the attributes fall through to the root

  • element, otherwise to the underlying tag.

    BNavbarDropdown:

    If compat-fallthrough is true, the attributes fall through to the root

    element, otherwise to the underlying tag.

    BNumberinput:

    If compat-fallthrough is true, the attributes fall through to the root

    element, otherwise to the underlying component.

    BSelect:

    If compat-fallthrough is true, the attributes fall through to the root

    element, otherwise to the underlying element. BSliderThumb: If compat-fallthrough is true, the attributes fall through to the root element, otherwise to the inner element. BTable: If compat-fallthrough is true, the attributes fall through to the root element, otherwise to the underlying pagination components. BTaginput: If compat-fallthrough is true, the attributes fall through to the root element, otherwise to the underlying BAutocomplete component. BTimepicker: If compat-fallthrough is true, the attributes fall through to the root element, otherwise to the underlying BInput. BUpload: If compat-fallthrough is true, the attributes fall through to the root element, otherwise to the underlying element.

    BCarouselItem, BStepItem, and BTabItem introduce a new prop order, which determines the order of each child item. By default, the order of each child item is determined by the sequence in which each child item is mounted. If any child item is unmounted and mounted again, the order may be changed (BREAKING CHANGE). You have to give explicit order if you want to maintain the order of child items consistent.

    Fixes
    Fix #163 Missing BMenuList in production (thanks @dword-design)
    Fix #124 Progress bar in BNotification component was not showing, when programmatically opened (thanks @zhanghengxin)
    Fix #131 Typo in the copyAppContext helper function. Programmatically opened components may be affected; e.g., BModal.
    Fix #153 useI18n did not work in a setup script within the context of a programmatically opened BModal
    Fix #16 Vue Compat: deprecation INSTANCE_ATTRS_CLASS_STYLE
    Fix #197 Migrated BSkeleton to Vue 3 functional component as function (thanks @hirokiky)
    Fix #187 BTabs did not work in SSR due to window access
    Fix #194 _unregisterItem of ProviderParentMixin would not work if child items did not have value. BCarousel, BSteps, BTabs are affected.
    Buefy-next 0.1.2
    Fixes
    Fix #5 Horizontal BField wrapped a simple text element with an extra BField
    Fix #8 BTable had an unexpected tabindex attribute containing "false"
    Fix #20 BMenuList crashed with "TypeError: slots.default is not a function"
    Fix #18 BFieldBody crashed with "TypeError: this.$slots.default is not a function". BField may be affected.
    Fix #29 Burger menu of BNavbar had an unexpected aria-expanded attribute with false
    Fix #28 BNavbar crashed with "TypeError: this.$slots.brand is not a function"
    Fix #36 BFieldBody could not resolve BField. BField may be affected.
    Fix #44 BSlotComponent crashed with "TypeError: Cannot read properties of undefined (reading 'default')". Components using BSlotComponent may be affected; i.e., BTable, BTabs.
    Fix #33 Thumb of BSlider had an unexpected aria-disabled attribute with "false"
    Fix #45 BSlotComponent did not handle update events from underlying component. BTabItems with a custom header slot may be affected.
    Fix #42 BTabs did not respond to key interactions
    Fix #39 BPaginationButton had ab unexpected aria-current attribute with "false"
    Fix #26 BCollapse warned a non-function value for the default slot
    Fix #32, #101 No plugins were available on programmatically opened components: BDialog, BLoading, BModal, BNotification, BSnackbar, and BToast

    New Contributors

    Full Changelog: https://github.com/ntohq/buefy-next/commits/v0.0.3-next

  • Don't miss a new buefy-next release

    NewReleases is sending notifications on new releases.