Skip to content

Releases: GwtMaterialDesign/gwt-material

Release 2.0

03 Nov 13:51
92f8da4
Compare
Choose a tag to compare

Release 2.0-rc7

20 Oct 06:06
Compare
Choose a tag to compare
Release 2.0-rc7 Pre-release
Pre-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.

Release 2.0-rc6

31 Jul 08:11
Compare
Choose a tag to compare
Release 2.0-rc6 Pre-release
Pre-release
  • Upgrade GWT Version to 2.8.1
  • Added validate() to the base MaterialWidget and recursive validation. (Thanks @BenDol ).
  • Added HasValue on MaterialImage.
  • Added more helper methods to ViewPortHelper - isMobile(), isTablet() and isLaptop().
  • Fixed MaterialToast resetting id when using custom classes (Thanks @xliii ).
  • Corrected some Vietnamese translations for DatePicker (Thanks @Cupi ).
  • Added jquery warning (#636) & fixed tabindex issue with MaterialDatePicker. (Thanks @BenDol ).
  • Remove MaterialNoResult to Addins component and refactor to 'MaterialEmptyState'.
  • Can now provide your own version of JQuery using JQueryProvider: (Thanks @BenDol ).
<replace-with class="com.client.MyJQueryProvider">
  <when-type-is class="gwt.material.design.client.JQueryProvider"/>
</replace-with>
MyJQueryProvider extends JQueryProvider.
  • Use LeafValueEditor in AbstractValueWidget. (Thanks @BenDol )
  • Implements HasNoSideNavSelection to MaterialNavMenu.
  • Added method setActive(int index) to automatically select sidenav items.
  • Create FullscreenMixin and apply to existing core / addin widgets.
  • Apply change on MaterialSlider - that has also fullscreen mode capability.
  • Added Junit Test for recent Modal.setFullscreen(boolean).

Bug Fixes:

Release 2.0-rc5

09 May 06:45
Compare
Choose a tag to compare
Release 2.0-rc5 Pre-release
Pre-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

Version 2.0-rc4

08 Mar 02:29
Compare
Choose a tag to compare
Version 2.0-rc4 Pre-release
Pre-release

Version 2.0-rc4

  • MaterialSideNav
    • Fixed overlay leaks when sidenav unloads.
    • Fixed display issue with card type
    • Fixed issue with fixed type disappears on window
  • Material Tabs
    • Added Selection Event to easily navigate the current tab item
  • MaterialColumn
    • Fixed classname leaks on contructor
  • MaterialDatePicker
    • Added setContainer(BODY/SELF) to specify the root container of the datepicker.
  • MaterialNavSection
    • Added SelectionEvent to easily navigate the current nav link item
  • MaterialValueBox
    • Added setActive(boolean) to set the label style active (Good for placeholder + label combination)
  • Fixed issues with Materialize loading multiple times.
  • Bug Fixes for #494, #523, #527, #528, #529, #534, #538, #539, #546, #552, #555, #556, #558, #563, #559, #568, #569, #557

Version 2.0-rc3

29 Nov 00:11
Compare
Choose a tag to compare
Version 2.0-rc3 Pre-release
Pre-release

Thanks @BenDol and other contributors

  • MaterialDatePicker
  • Supports Pushpin to be instantiated
  • Sidenav - Make showOnAttach true by default.
  • MaterialWeather - Fixed background conflict with cards.
  • Fix a setValue issue with MaterialRange.
  • Verify attach handler isn't already registered.
  • TextWidget
    • Label text and placeholder are suppose to be seperate.


  • MaterialAnimation
    • Marked MaterialAnimator as Deprecated - Use MaterialAnimation for official GMD Animation class
    • Added Getters and setters for animation properties
  • Added a base TextWidget
  • Fix for the chrome autofill in all text fields.
  • Major fixes with JQuery race loading (for addins particularly).

Release 2.0-rc2

11 Nov 23:26
Compare
Choose a tag to compare
Release 2.0-rc2 Pre-release
Pre-release

Version 2.0-rc2

Thanks @BenDol and other contributors for making this 2.0-RC2 version.

  • Bug fixes for 2.0-rc1 #493, #492, #193, #497, #500, #496, #79
  • DatePicker - Auto Close Feature
  • Search - Added OpenEventHandler
  • Mobile Orientation Detection
    • DatePicker
    • Cards
  • MaterialPushpin - Clean up and Improvement
  • Security update on setText() -> Convert to SafeHtml to disable XSS attacks
  • Fixed - Color.fromStyleNames() return wrong css style name in EnumHelper class

Release 2.0-rc1

30 Oct 03:34
Compare
Choose a tag to compare
Release 2.0-rc1 Pre-release
Pre-release

Enhancement and Code Improvement / Cleanup

  • JSInterop support
  • Java 8 Support
  • GWT 2.8 support
  • Support with Errai
  • MaterialWidget
    • implements HasInteraction (contains HasClick, HasDoubleClick, HasMouse handlers) and Focusable handlers.
  • Added ActiveMixin and TitleMixin as base mixins.
  • Added DragStart, DragEnd, DragMove, DragEnter, DragLeave, DragOver events into base events.
  • Added AbstractValueWidget to simplify value based functionality.
  • Added KeyFactory.
  • Update all Runnable parameters -> Function (JSInterop).
  • Implement CssName Constants to clean up each css classnames of individual widgets.
  • CssTypeMixin - Added possibility to set the target component.
  • Refactor Color params(String) -> Color Enum.
  • Added default Constructors.
  • Organize Imports.
  • Added support for onLoad multiple calls.
  • Added read only states (Editable to Read Only Toggle mode).

GWTTestCase

  • Implemented GWTTest to all Material Widgets and Addins.

Method Changes

  • Breadcrumb
    • Fixed Icon and Text alignment.
  • Collapsible
    • Implement CssType
    • Allow access getBody() and getHeader()
  • Collection Item
    • Changed setDismissable() -> setDismissible().
    • Implement CssType
    • Fixed issue on setActive(boolean)
  • Date Picker
    • Allow access to getDateInput() - DateInput
    • Fixed removeErrorModifiers
    • Added open() / close() programmatic controls
  • Dropdown
    • Fixed constraint width api bug
  • FAB
    • Changed openFAB(), closeFAB() -> open(), close().
    • Added Open / Close Event Handler.
  • Image
    • Added activates feature
  • ListBox
    • Allow access getListBox() - ListBox
  • Loader
    • Supports Specific Panel
  • Modal
    • Changed openModal(), closeModal() -> open(), close().
    • Changed setDismissable() -> setDismissible().
    • Added Open Event Handler
    • Fixed Close not firing
  • NavBar
    • Allow access getNavMenu() - MaterialLink
  • Progress
    • Changed setColor(String) -> setColor(Color)
    • Supports Specific Panel
    • Added validation if progress percent is greater that 100
  • Spinner
    • Create Enum for SpinnerColor
  • Search
    • Fixed issue on isActive()
    • Implement SearchHandler
  • TextArea
    • Fixed TextArea Resize Rule
  • Toast with Callback
    • Changed Runnable param to Functions.Func (JSInterop + Lambda).
  • ValueBox
    • Allow access to getValueBoxBase() - ValueBoxBase

Version 1.6.2

13 Sep 09:33
Compare
Choose a tag to compare

Emergency Patch Release for MaterialListBox issues.

Version 1.6.1

30 Aug 08:18
Compare
Choose a tag to compare
  • Emergency patch for the MaterialListValueBox.
    • Fixes the ValueChangeHandler issues.