The following guide should be used for migrating from 2.0 to 2.1. Please refer to previous migration guides if you are upgrading from a lower version.
- Rename
$vendor-prefix
to$namespace
. - Rename
grid-gutter()
togutter()
. - Rename
remove-selector-char()
toremove-selector()
.
- Rename
Toolkit.create()
toToolkit.createPlugin()
. - Rename
Toolkit.vendor
toToolkit.namespace
.
- All
template
option strings have been replaced with functions. Be wary of this change. - The
created
property was removed. - The
runtime
property was removed. - The
nodes
andelements
properties are only available inCompositeComponent
components. - The
createElement()
function was moved from theComponent
class toTemplateComponent
.
- The
hideOpened
option was removed.
- Rename the
current
property tourl
. - Rename the
menus
property toelements
.
- Rename the
elements
property toitems
.
- The
elementHead
andelementBody
properties were removed.
- Rename
template
option towrapperTemplate
. - Rename
toastTemplate
option totemplate
.
- The
elementHead
andelementBody
properties were removed.