Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.85 KB

CHANGELOG.md

File metadata and controls

41 lines (30 loc) · 1.85 KB

Migration Notes/API Changes

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 kind moon.HourMinutePickerBase plus subkinds moon.HourPicker and moon.MinutePicker.

  • In moon.CheckboxItem, added active property, used to track whether the checkbox is the active item in a group.

  • In moon.ExpandableIntegerPicker, set default value of 0 and removed unnecessary noneText property.

  • In moon.ListActions, added events for start and end of open and close animations (onShow, onShown, onHide, and onHidden).