Skip to content

Release 2.0-rc7

Pre-release
Pre-release
Compare
Choose a tag to compare
@kevzlou7979 kevzlou7979 released this 20 Oct 06:06
· 780 commits to master since this release

Reworked Test Framework

Project Number of Tests
gwt-material 1545
gwt-material-addins 1048
gwt-material-table 100
Total Unit Tests 2693

Reworked Widget Loading mechanism.

  • completely removed build / initialize / reinitialize methods.
  • added JsLoader Interface to delegate the load, unload and reload methods.

Added missing apis

Component New API
MaterialWidget setBorder(String), setBorderTop(int), setBorderLeft(int), setBorderRight(int), setBorderBottom(int), setBorderRadius(String)
setMinWidth(String), setMaxWidth(String), setMinHeight(String), setMaxHeight(String)
setTransform(String), setTransformOrigin(String), setTransformStyle(String), setPerspective(String), setPerspectiveOrigin(String), setBackfaceVisibility(String)
getLayoutPosition() (String)
MaterialPanel setContainerEnabled(boolean)
HasIcon getIconColor() (Color)
MaterialModal getOpacity() (double)
ProgressMixin getProgress() (MaterialProgress)
EnabledMixin setPropagateToChildren(boolean)

Remove deprecated api's

Component Deprecated Method Replacement
MaterialLoader showLoading() loading()
MaterialLoader showProgress() progress()
MaterialCheckBox setChecked(boolean) setValue(boolean)
BaseWidget ComplexWidget MaterialWidget
ViewPort ViewPortHelper ViewPort
Animation MaterialAnimator MaterialAnimation
MaterialCard setAxis(Axis) , getAxis() setOrientation(Orientation), getOrientation()
MaterialSideNav applyType() setup()
MaterialDatePicker clearValues() clear()

Bug Fixes

  • #662, #664, #695, #683, #705
  • Fix the setValue for MaterialImage
  • Fix UiBinder issue with MaterialPreLoader#setSize
  • Fixes on MaterialWidget mixins.

Enhancements

  • Improvements on EnabledMixin , ReadOnlyMixin.
  • Standardized widgets to extend AbstractValueWidget if necessary.
  • Rework the Initial ViewPort detection builder (Added Resolution - Boundary interface for providing your own WidthBoundary).
  • HandlerRegistry - smart registration of event handlers.
  • Added StylePropertyMixin for better handling of styles.
  • Added Color.clearStyles to clear an objects color styles.
  • Lazy load all component mixins.
  • Refactor all code formats to follow GMD Code Standard.
  • Block out CSS Test messages during surefire tests.
  • Added setValue(V value, boolean fireEvents, boolean reload)
  • Ability to share test packages to other GMD Projects i.e addins.
  • Enhanced the creation of JsOptions by default.
  • Major clean up overridecss, commenting each gmd components override styles.

Thanks to @BenDol and other contributors of this project.