Skip to content

Release 2.0-rc5

Pre-release
Pre-release
Compare
Choose a tag to compare
@kevzlou7979 kevzlou7979 released this 09 May 06:45
· 908 commits to master since this release

Fixed Bugs

Transition Duration

  • Created HasDelayTransition, HasDurationTransition & HasInOutDurationTransition for configurable animation transition properties.
  • MaterialAnimation - Refactor setDurationMillis() -> setDuration() and setDelayMillis() -> setDelay() so that it will be uniform to other Component. (Provided documentation that the time suffix is milliseconds.).
  • MaterialDropdown / MaterialModal / MaterialSideNav - implements the in/out duration properties.
  • Updated the animation tests and other component tests on duration transition.
  • Added setTransition(TransitionConfig) method on Base MaterialWidget to apply CSS3 transition easily.
  • Addins API Rework regarding Transition Duration - GwtMaterialDesign/gwt-material-addins#219

Add Links to Material Design Specification

  • Provides link for brief information about each component.
  • Updated the Demo showcase to have links also refered to Material Design Specification.

Added build() base method to MaterialWidget

  • A protected method to build the structure of any complex widget that can be overridden to perform a different behavior of this widget.

Added initialize() base method to MaterialWidget

  • A protected method to initialize the component (JSInterop calls) to easily overridden when user wants to perform any other initialization.

  • CheckList - Spreadsheet for all the todo's and tests running on this API Change

Getter for child widget

  • All children widgets of each complex component shall provide a getter for easy customization.

App Blueprint

Version update (Other projects)

  • GMDTable & GMDJQuery
    • The recent SNAPSHOT was changed from 1.0-SNAPSHOT - 2.0-SNAPSHOT
    • Next release would be 2.0-rc5.
    • Reason : We will synchronize every GMD Projects to have a uniform versioning which is currently (For SNAPSHOT 2.0, and for next release 2.0-rc5)

New Modules (GMD Addins & Table)

  • Added GwtMaterialAddinsBasic & GwtMaterialAddinsBasicDebug Commit
  • Added GwtMaterialTableBasic & GwtMaterialTableBasicDebug Commit
  • All Basic modules will not import materializecss & overridecss

MaterialTabs

  • We provided a reinitialize() - recalculate the width of the Tab's indicator. Demo - Source
  • Workaround for #532
        sidenav.addOpenedHandler(event -> tab.reinitialize());
        sidenav.addClosedHandler(event -> tab.reinitialize());

MaterialNavBar 2.0

Different Patterns:

MaterialSideNav 2.0

  • Documentation
  • Add MaterialSideNavContent - new container component to separate it from any sidenav links. This can be a good container for Material Form components such as input fields and pickers. Demo - Source

Different Patterns:

  • MaterialSideNav Demo - Source

    • behave as FIXED as Default type.
  • MaterialSideNavCard Demo - Source

  • MaterialSideNavMini Demo - Source

    • added method setExpandable(boolean) - to enable expandable feature. Demo
    • added method setExpandOnClick(boolean)
  • MaterialSideNavMini (Expandable) Demo - Source

  • MaterialSideNavPush Demo - Source

    • implements HasWithHeader - to enable PUSH_WITH_HEADER Demo
  • MaterialSideNavPush (with Header) Demo - Source

  • MaterialSideNavDrawer (Formerly named as OVERLAY) Demo - Source

    • implements HasWithHeader - to enable DRAWER_WITH_HEADER
  • MaterialSideNavDrawer with Header (Formerly named as OVERLAY) Demo - Source

    • implements HasWithHeader - to enable DRAWER_WITH_HEADER
  • Edge (RIGHT) Support Demo - Source