⚠️ Breaking changes
hideCloseButton
removed! Now setcloseButton: false
to hide it. (#35) (ea1a448)- Custom icon object shape changed! Previous shape
{ tag, children, class }
conflicts with JSX, so it was changed to{ iconTag, iconChildren, iconClass }
(#35) (ea1a448) - Renamed
examples
folder topublic
! Examples did not make sense since it was the code for the demo. (#35) (eb56db2) - Namespaced components with
Vt
prefix! Some editors were picking up internal components by name. (#35) (4158311) closes #32
🚀 New features
- Full typescript support: Entirely rewritten in Typescript (#35) (eb56db2), closes #36
- Added
containerClassName
plugin option: Now custom classes can be added to containers docs (#35) (58c1d3e)
🔧 Bug fixes
- Added Plugin options declaration to types:
PluginOptions
was missing from the module declaration. #34 (03cd140) - Dynamic container element updates:
$updateDefaults({ container: yourHTMLElement } )
was not updating the container component, but now does without losing any state or affecting UI. (#35)(6428344) Thanks to @tomeus
📖 Documentation
- Added
onClose
documentation:onClose
documentation was missing, even though it was implemented. docs #35 (eb56db2)
📦 Bundle
- Switch from webpack to rollup: Smaller and more diverse builds with support for tree shaking.