This file tracks changes made to the Moonstone API since the last public release. While this list should not be considered exhaustive, we hope it will provide useful guidance for those maintaining existing Moonstone apps, as well as those planning new ones.
Since the release of Enyo 2.5.1.1, we have introduced support for resolution
independence, a set of new abilities that allow apps to automatically scale
themselves to run under different screen resolutions. The moon-resolution.js
file makes the resolution independence code from Enyo core available to the
Moonstone library.
Also new is support for custom history handling (i.e., the ability to define
how the app responds to a "back" keypress or window.history.back()
). This is
implemented in the new moon.HistorySupport
mixin, which has been integrated
into numerous Moonstone controls, including moon.ContextualPopup
,
moon.Dialog
, moon.Drawer
, moon.Drawers
, moon.ListActions
, moon.Panels
,
moon.Popup
, and moon.VideoPlayer
. The new functionality may be seen at work
in the new sample, "HistorySample".
In addition to the work on resolution independence and custom history, we have made the following API changes in Moonstone:
-
Added
moon.DayPicker
. -
Added
moon.PanelsHandle
. -
Standardized implementation of
uppercase
property across Moonstone library. -
Replaced
moon.HourPicker
with base kindmoon.HourMinutePickerBase
plus subkindsmoon.HourPicker
andmoon.MinutePicker
. -
In
moon.CheckboxItem
, addedactive
property, used to track whether the checkbox is the active item in a group. -
In
moon.ExpandableIntegerPicker
, set default value of0
and removed unnecessarynoneText
property. -
In
moon.ListActions
, added events for start and end of open and close animations (onShow
,onShown
,onHide
, andonHidden
).