This repository has been archived by the owner on Sep 3, 2021. It is now read-only.
1.4.0 - Evasive Elf
This minor release includes 3 new components, a new destroy()
method,
a cleanup of element and event options, expanded documentation, and a handful of optimization improvements.
- Usage license has been updated to BSD-3 from BSD-2
- MooTools support is slowly being phased out and new components are not supported
- Added new Divider component for separating content
- Added new Off Canvas component for displaying sidebars outside the viewport
- Added new Toast component for notifying users with timed messages
- Added
.no-transition
class to disable transitions - Added
.sr-only
class for screen readers - Added
suppression
setting for swipe events - Fixed a bug with
swipe
events where select dropdowns would stop working - Fixed a bug with
swipe
events where page scrolling gets disabled - Fixed a bug with certain fade animations
- Fixed a bug where certain Sass variables were not customizable
- Removed
$shape-square-class
Sass variable - Removed
*Element
options (CSS classes are now hardcoded) - Removed
*Event
options (CSS classes are now hardcoded) - Toolkit
- Added
toolkit(component, method, args)
support for triggering methods on the class instance - Added
transitionEnd
flag - Refactored
toolkit()
to return a single instance instead of multiple instances - Removed
i()
anditem()
jQuery collection methods
- Added
- Component
- Added a
initialize()
method that is triggered within all constructors - Added a
destroy()
method that will unbind all events, remove elements, and delete the instance - Added automatic
this
scope binding to all methods on a class instance - Refactored
bindEvents()
with an easier lightweight syntax
- Added a
- Accordion
- Removed
headerElement
,sectionElement
options
- Removed
- Blackout
- Fixed incorrect
.loader-spinner
class
- Fixed incorrect
- Carousel
- Removed
nextButton
,prevButton
properties - Removed
itemsElement
,tabsElement
,nextElement
,prevElement
options
- Removed
- Code
- Added overflow scrolling for touch devices
- Flyout
- Disabled automatically for touch devices
- Removed
contentElement
option
- Input
- Added
hideOpened
option to selects to hide other opened selects - Updated
native
option value to beToolkit.isTouch
by default
- Added
- Lazy Load
- Removed
isLoaded
property
- Removed
- Mask
- Added
selector
option to bind toggle events to - Renamed
.maskable
to.mask-target
- Removed
messageElement
option
- Added
- Modal
- Added
$modal-mobile-breakpoint
to apply mobile widths to the modal - Added
submit()
method for submitting forms - Updated with new markup
- Renamed
.modal-event-submit
to.modal-submit
- Renamed
.modal-event-close
to.modal-hide
- Removed
.modal-handle
within the template - Removed
elementBody
property - Removed
contentElement
,closeElement
,closeEvent
,submitEvent
options - Removed
sticky-*
animations
- Added
- Popover, Tooltip
- Removed
titleElement
,contentElement
options
- Removed
- Showcase
- Updated with new markup
- Renamed
.showcase-event-prev
to.showcase-prev
- Renamed
.showcase-event-next
to.showcase-next
- Renamed
.showcase-event-close
to.showcase-hide
- Renamed
.showcase-event-jump
to.showcase-tabs a
- Removed
nextButton
,prevButton
properties - Removed
transition
,itemsElement
,tabsElement
,prevElement
,nextElement
,
closeEvent
,jumpEvent
,prevEvent
,nextEvent
options
- Tabs
- Removed
navElement
,sectionElement
options
- Removed
- Type Ahead
- Removed
contentElement
option
- Removed