Release Date and SummaryRelease 28 May 2012: Buttons, Soy templates, Messages improvment, changes to Dropdown2.
Highlights of this release
AUI now provides a generalised Buttons component. This will be rolled out to replace buttons in future versions of components which currently provide their own buttons.
See Buttons for details.
Soy (Google Closure) templates are now available for dropdown, form, group + item, panel, messages, tables, tabs and toolbar. Further soy templates will be added in future releases. Note these templates are experimental status.
See Soy Templates for details.
Prepend option for Messages
Previously you could only append Messages to a target element. Now you can also choose to prepend, by setting the "insert" option:
Insert options are
prepend; the default behaviour is the same as setting
- Review your usage of Dropdown2 trigger styles.
- If you have any extensions to Message concerned with placing them in the document, you should review them.
Recommended upgrade path
- Direct to final.
Default style for Dropdown2 triggers removed
Dropdown2 shipped with a simple default style for triggers; this has been superceded by the Buttons design. From this point on, Dropdown2 triggers will not have any default style; the triggers will be contextually styled.
If you currently use Dropdown2 triggers with the
aui-style-default class, you have two options:
- Permanent: change your toolbar triggers to use Buttons.
- Temporary: you can change
aui-style-dropdown2triggerlegacy1to maintain the trigger style. This will be removed at some point in the future; it is provided to ensure updates can be managed incrementally.
Remember Dropdown2 is still experimental so this does not break any deprecation rules.