barba

Create badass, fluid and smooth transitions between your website’s pages

MIT License

Downloads
38.9K
Stars
11.6K
Committers
20

Bot releases are visible (Hide)

barba - @barba/[email protected]

Published by xavierfoucrier 2 months ago

Hello Barbas! πŸ§”

New quick release version of BarbaJS.

Bug fixes:

  • Fix event propagation #746

Known issues:

  • ⚠️ This re-introduce bug #700.

See all changes in the changelog.

Feel free to report any bugs you could find πŸ›

Sponsorship

It is now possible to support this project by sponsoring BarbaJS maintainer on Github. Even if it's a small contribution, you participate in the effort of making open source projects maintained for everyone, and developers to be rewarded for their work/time.

Feedback

Feel free to report any issue or feature request, thanks! πŸ‘
Send us your project and showcase the amazing transitions you built using Barba!

barba - @barba/[email protected] Latest Release

Published by xavierfoucrier 3 months ago

Hello Barbas! πŸ§”

New quick release version of BarbaJS.

Bug fixes:

  • Fix popstate malfunction on document click #736

See all changes in the changelog.

Feel free to report any bugs you could find πŸ›

Sponsorship

It is now possible to support this project by sponsoring BarbaJS maintainer on Github. Even if it's a small contribution, you participate in the effort of making open source projects maintained for everyone, and developers to be rewarded for their work/time.

Feedback

Feel free to report any issue or feature request, thanks! πŸ‘
Send us your project and showcase the amazing transitions you built using Barba!

barba - @barba/core 2.10.0

Published by xavierfoucrier 5 months ago

Hello Barbas! πŸ§”

Here is a new release version of BarbaJS.

Core packages enhancements:

  • Add setting to cache rendered HTML #713
  • Improve cache storage #641
  • Manage 301 server response #510
  • Limit number of prefetched links #708
  • Allow programmatic barba.history management #601
  • Add support for custom XHR headers #655
  • Add Cache status feature #568
  • Add custom data to barba.history #630
  • Pass the trigger event through hooks #622

Bug fixes:

  • Fix data-barba-prevent not working on self transition #700
  • Fix popstate events not triggering transition correctly with query string #587
  • Fix next container not properly inserted in the DOM #648
  • Fix container replacement in the DOM #479
  • Fix a11y harmful live-region usage #681
  • Fix DOMParser error on SSR #512
  • Fix timeout reload instead of redirect #475
  • Fix Slack outdated invite link #697

Documentation:

  • Up to date with latest code changes β€” https://barba.js.org/
  • Third party script section improved (WordPress, Lenis, ...)
  • Slack invite link fixed
  • Dark mode support βœ¨πŸ•ΆοΈπŸ–€

See all changes in the last milestone or read the full changelog.

Feel free to report any bugs you could find πŸ›

Sponsorship

It is now possible to support this project by sponsoring BarbaJS maintainer on Github. Even if it's a small contribution, you participate in the effort of making open source projects maintained for everyone, and developers to be rewarded for their work/time.

Feedback

Feel free to report any issue or feature request, thanks! πŸ‘
Send us your project and showcase the amazing transitions you built using Barba!

barba - @barba/core 2.9.7

Published by xavierfoucrier almost 2 years ago

What's new? πŸ§”

  • Brand website, always up to date β€” https://barba.js.org/
  • Simplified API, with tree shaking support and TS definitions
  • Hook system for Transitions and Views
  • Transition resolution, to declare your transitions and let Barba pick the right one
  • Use of data-barba-* attributes, that you can easily customize
  • Sync mode, to build cross animated transitions between pages
  • Plugin system
    • @barba/router : use of routes for transition resolution
    • @barba/css : automatic addition of CSS classes
    • @barba/prefetch : automatic pages prefetching (and caching), based on viewport
    • @barba/head : update your <head> (coming soon)
    • @barba/preset : ready-to-use basic transitions pack (fade, slide, …) (coming soon)

Sponsorship

It is now possible to support this project by sponsoring BarbaJS maintainer on Github. Even if it's a small contribution, you participate in the effort of making open source projects maintained for everyone, and developers to be rewarded for their work/time.

Feedback

Feel free to report any issue or feature request, thanks! πŸ‘
Send us your project and showcase the amazing transitions you built using Barba!

barba - Beta release

Published by thierrymichel over 5 years ago

Enable NPM @latest for the beta release.

barba - v1.0

Published by luruke about 8 years ago

Wow, i've been really busy recently but I managed to get out Barba.js v1.0! πŸŽ‰

Some stuff in this version:

  • Support for download attribute.
  • Support for xlink:href attribute (introducing a new method Barba.Pjax.getHref).
  • Add new parameter to linkClicked event, now you receive the event. Thanks @anhskohbo .
  • Add new parameter to newPageReady event, now you have the full raw HTML of the page loaded.
barba -

Published by luruke over 8 years ago

Lots of little stuff in this version!

  • Improve JSDoc annotations
  • Add little npm command to measure filesize of the library (minified and gzipped)
  • Improve visibility and display toggling (@ZachSaucier)
  • Improve/add unit testing
  • Add basic E2E tests with nightwatch
  • Improve accessibility adding aria-live attribute
  • Add cdnjs as install option
  • Little code cleanup

🏁

barba - 0.0.9

Published by luruke over 8 years ago

  • Init Unit testing with Karma and with istanbul as coverage tool
  • Integrate Travis and Coveralls
  • Improve generated documentation
  • Add the possibility to specify a timeout for the xhr requests (Barba.Utils.xhrTimeout, by default 5000ms)
  • Rename Barba.HistoryManager.states in Barba.HistoryManager.history

🏁

barba - 0.0.8

Published by luruke over 8 years ago

  • Update dependencies
  • Make easy to change data-namespace, .barba-container and #barba-wrapper
  • Update docs
barba - 0.0.7

Published by luruke over 8 years ago

  • Normalize port check (fixed verified on IE11)
barba -

Published by luruke over 8 years ago

  • Add port check
  • Graceful degradation for older browsers
  • Add custom x-barba HTTP header in the xhr request
  • Pass HTMLElement of the container on 'newPageReady' event
Package Rankings
Top 1.3% on Npmjs.org
Top 6.75% on Proxy.golang.org
Top 22.48% on Repo1.maven.org
Badges
Extracted from project README
CircleCI Coverage Status Commitizen friendly Conventional Commits lerna License All Contributors Slack workspace barbajs