HISTORY.md revision 8ecc5305b9a736da0cf68f7a471b471288c8b6bd
91a909555aeaa13fec1760cddbcc652529c50ed6Eric FerraiuoloPanel Change History
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo====================
1b94590fd02ca19669dfb4b5deb563a290459d81Tilo Mitra
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo3.5.0
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo-----
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo * Panel now hosts the a default "close" button which can be included more
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo easily then before. This button has advanced styling which will render the
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo button with the text [Close] when it's in the footer, and with the icon [x]
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo when it's in the header. [Ticket #2531680]
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo // Panel with close button in header.
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo var panel = new Y.Panel({
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo buttons: ['close']
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo });
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo // Panel with close button in footer.
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo var otherPanel = new Y.Panel({
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo buttons: {
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo footer: ['close']
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo }
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo });
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo * Panel's skins now uses `.yui3-panel` instead of `.yui3-panel-content` for
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo its CSS selectors where possible. [Ticket #2531623]
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo * Moved mask-related styles/skins to `WidgetModality`.
8ecc5305b9a736da0cf68f7a471b471288c8b6bdEric Ferraiuolo
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo3.4.1
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo-----
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo
1b5afa54144628ebf95e9aa5a61fe31b7f96edd7Eric Ferraiuolo * Panel's CSS related to WidgetButtons has been improved. The styling for
1b5afa54144628ebf95e9aa5a61fe31b7f96edd7Eric Ferraiuolo Panel's header is now much more flexible, while maintaining the position of
1b5afa54144628ebf95e9aa5a61fe31b7f96edd7Eric Ferraiuolo the close button across browsers and varying amounts of content.
1b5afa54144628ebf95e9aa5a61fe31b7f96edd7Eric Ferraiuolo [Ticket #2530978]
1b5afa54144628ebf95e9aa5a61fe31b7f96edd7Eric Ferraiuolo
dcc78dcc19087a116ef6b75e3d52f0ce38773e2fEric Ferraiuolo * Panel now has a working Night skin. [Ticket #2530937]
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo * The sprite image assets for the "close" button on Panels have moved into the
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo WidgetButtons extension's assets. [Ticket #2530952]
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo
dcc78dcc19087a116ef6b75e3d52f0ce38773e2fEric Ferraiuolo * See also Widget and extensions for changes to dependencies.
dcc78dcc19087a116ef6b75e3d52f0ce38773e2fEric Ferraiuolo
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo3.4.0
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo-----
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo
91a909555aeaa13fec1760cddbcc652529c50ed6Eric Ferraiuolo * Initial release.