- Bug 131 Navbar will now detect if window is defined before trying to attach sticky events
- Bug 138 Do not assume the navbar-burger element always exists
- Bug 120 Panel tabs will now properly take into account
is-active. Oninitthis will become the starting tab
- Feature 107 Add support for the navbar dropdown
- Feature 94 Add a new global
onLoadedcallback that can be defined within thewindow.bulmaOptionsobject. This is called once the library has been loaded and theDOMContentLoadedevent has been fired. - Feature 102 Add support for panel tabs.
- Tweak 95 The
parseDocumentmethod will now check the given context against the internal plugins - Refactor Add a
Bulma.getGlobalConfig(key: string, default: mixed)method to the core. This allows easy access to properties within thewindow.bulmaOptionsobject and accepts a default as it's second parameter, this isnullby default.
- Feature Add a
getFilenamemethod to the file plugin. - Feature Add a
setActivemethod to the tabs plugin. This allows for programatically changing the active tab. - Feature Add the ability to enable / disable a navbar's hide on scroll behavior at any time with
enableHideOnScrollanddisableHideOnScroll - Feature Add the ability to enable / disable a navbar's sticky behaviour at any time with
enableStickyanddisableSticky. - Feature Allow a plugin instance to be grabbed from an existing element. For example
Bulma('.navbar').data('navbar')will return the navbar plugin instance associated with the element. - Feature #71 The modal plugin can have it's HTML content loaded via an AJAX request using the new
bodyUrloption. - Bug #71 Fixed a typo within the Alert plugin that checks if the alert should be destroyed
- Refactor Adjust how options are internally handled, renaming variables to
configand implementing aConfigBaghelper class. - Refactor Remove the create method in favour of using the plugin's constructor method.
- Refactor Rewrite the API so that you can select an element
Bulma(selector)and then call the relevant plugin. The core will then automatically pss the selector element as the root, or create an empty div as the root if nothing is provided.
- Bug #100 Fix the
npm run productionscript failing
- Bug Change the default hide offset value to null rather than 0 @luksurious Pull Request.
- Bug #90 Hiding navbar on scrolls creates empty space, not reappearing as expected @luksurious Pull Request.
- Bug
Backported from master#88 Ensure the keyup event handler is removed then a Modal is destroyed. Thanks to @luksurious Pull Request.
- Feature Brand new documentation! To improve the ease of updating the docs the documentation has been ported to a new static site build, Jigsaw. As part of this it's also had a freshen up, there's still some things that needs tweaking but we're mostly there. The docs have also been moved out of the main repository, and are now in a BulmaJS-Docs repository. You can access the new docs by visiting bulmajs.tomerbe.co.uk. If you would still like to use the pre 0.10 docs you can do so by visiting https://vizuaalog.github.io/BulmaJS/;
- Feature #70 The automatic document parsing can be disabled using the
bulmaOptionsobject. - Tweak #70 The
traverseDOMmethod now accepts an optional parameter specifying an HTMLElement to use as the scope when parsing the document. - Tweak The
destroyOnConfirmanddestroyOnCanceloptions on the alert plugin have been moved to the buttons object and renamed todestroy. - Tweak The
closeOnConfirmandcloseOnCanceloptions on the alert plugin have been moved to the buttons object and renamed toclose. - Tweak The
onConfirmproperty on the alert object has been moved to theconfirmobject and renamed toonClick. - Tweak The
onCancelproperty on the alert object has been moved to thecancelobject and renamed toonClick.
- Feature #66 The alert plugin now has
closeOnCancel,closeOnConfirm,destroyOnCancelanddestroyOnConfirmoptions. Thanks to @alexcanana. - Bug #69 The modal plugin now correctly handles the
is-clippedclass. Thanks to @alexcanana.
- Feature #64 The alert plugin now has a
showHeaderoption. This defaults totrue, setting it tofalsewill hide the alert's header. - Feature #64 The alert plugin now has
destroyOnConfirmanddestroyOnCanceloptions. These both default totruesetting them tofalsewill prevent the alert from destroying itself when the relevant button is clicked. - Feature #64 The alert plugin now has additional options for buttons. Supplying an object will allow you to also provide additional classes for each button. More details in the alert documentation.
- Tweak #65 The alert callbacks now include an
eventargument. Thanks to @alexcanana. - Bug Fixed a bug that caused
.modalandmodalclasses to be applied to a modal
- Bug 63 Use a helper
eachmethod instead offorEach. This is to add support for IE11.
- Feature #47 Implement an alert box. This extends the modal plugin and uses the card style. The type of alert box can be specified, adjusting the colours used.
- Tweak #61 Remove the assumed window assignment, if you rely on this then you'll need to ensure you add this to you applications JS.
- Tweak BREAKING The modal's
typeattribute has been renamed tostyle. This value is changing the 'style' of the modal, and so this better reflects the option. - Bug #61 Add a default export for the full BulmaJS bundle.
- Deprecated Wikiki's Accordion plugin has been Deprecated from the core and will be removed in the 1.0 release. If you are using Wikiki's Accordion extension then it's recommended to use the official JS integration for it.
- Deprecated Wikiki's Calendar plugin has been Deprecated from the core and will be removed from the 1.0 release. If you are using Wikiki's Calendar extension then it's recommended to use the official JS integration for it.
- Feature #27 Modals can now be closed by pressing the
escapekey. - Feature #27 Modals can now be closed by clicking outside of an open modal.
- Feature #27 When a modal is opening the
is-clippedclass is applied to thebodyelement. - Feature Added a new
findElementhelper method to the BulmaJS core. This method will allow plugins to easily normalise an arugment that needs to be either an HTMLElement or a query selector string. - Feature #27 Rewrite the modal plugin, providing a new functionality, options and a full Javascript API.
- Feature #50 Allow multiple plugins to be attached to a single class.
- Feature #39 Implement a uniformed plugin interface
- Feature #40 Add the ability for the navbar to be sticky at a certain threshold. Also add the ability for the navbar to hide on scroll down and reappear on scroll up. Thanks to rdhar for the suggestion!
- Tweak #51 Thanks to apecell the file plugin now supports drag and drop.
- Bug #27
closeButtonevent is now correctly removed when destroying a modal. - Bug #53 The tabs plugin now ensures it only grabs the ul/li element that is a direct child of the
tabs-contentelement. - Bug #54 Fix an issue where plugins were sometimes attached twice.
The reason for this being a large version jump is due to the complete overhaul of the documentation. While this doesn't change the functionality of the code, I feel like this is a large enough change to the project to warrant more than a 'patch' version bump.
- #36 The navbar burger button now has the
is-activeclass toggled. - #22 Documentation has had a redesign and a complete rewrite. If you find a typo please blame my keyboard ( :) ) and file an issue or submit a pull request.
- #38 Adjust how plugins are initialised by using classes instead. Data attributes can still be used for customising the plugins behaviour, if supported. (closes #20)
- 43b64cd Add a new option to the tabs plugin that allows tabs to be changed when the user hovers over the tab link. On mobile this will revert back to the click/tap handler due to the lack of a hover event being called. (closes #35)
- #28 Add the option to disable the modal being closable
- #31 Add automated linting to the CI process (closes #20)
- This changelog was added
- Fix Wikiki's CSS files not being loaded on the docs
- Publish to NPM