bbUI.js version 0.9.2 now available on GitHub
Be sure to check out the full changelog for this release to know what kind of adjustments you may need to make to your markup in order to run v0.9.2, and check out the closed issues for bugs that have been fixed.
The v0.9.2 markup changes are fairly minor and are meant to make your life easier as developers move forward.
- BlackBerry 10 Grid List
- Now supports both square 1:1 and widescreen 16:9 image formats
- Added press-and-hold context menu support
- Only shows translucent overlay if either a title or sub-title is provided
- Supports both solid and gradient headers
- Header text justification added
- Image List
- Supports both solid and gradient headers for BlackBerry 10
- Image display effects for BlackBerry 10
- Added placeholder images for items without image content on all BlackBerry operating systems
- Supports a “text only” mode on all BlackBerry operating systems
- New touch and click highlighting to match BlackBerry 10 UX specifications
- Ellipsis added to the end of long text in arrow and image lists
- HTML5 input fields now supported in Label/Control containers
- Added slider stylingfor BlackBerry 10 with some funky animation
- Added progress indicatorsfor all BlackBerry operating systems
- New title bar supportwith buttons for BlackBerry 10
- New radio button styling for BlackBerry 10 with some slip-and-slide animation
Changes to your code
A few changes that were made that will affect your application markup, so let’s talk about those.
- The bb.init() function no longer takes a bb10AccentColor. This color is now generated as a shade of the bb10HighlightColor.
- Header text alignment has been moved off of the individual headers on an image list and moved to an attribute of the image list itself. Make sure you check out the Image List documentationfor the correct markup.
- Grid lists used to have header text left justified by default — they are now center justified by default.
- Back Buttons must be explicitly created in Action Bars for BB10 styling. Action bar will no longer be created “automagically” if the screen has a title bar with a back button specified.
- The toolkit file names have changed to bbui-0.9.2.js and bbui-0.9.2.css
More to Come
An additional BlackBerry 10 milestone for bbUI has been created that contains some more BlackBerry 10 UI goodness.
Source: BlackBerry DevBlog