Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.4.0 #414

Merged
merged 72 commits into from
Jul 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
97cfd5b
Iteration for 2.3.1 snapshot
kevzlou7979 Jan 13, 2020
317dbc9
Travis update
kevzlou7979 Jan 13, 2020
e4f22a9
Merge branch 'master' into release_2.3.1
kevzlou7979 Jan 13, 2020
a021e50
DateRangePicker - bug fixes
kevzlou7979 Jan 16, 2020
b45d44f
Merge branch 'release_2.3.1' of https://github.com/GwtMaterialDesign/…
kevzlou7979 Jan 16, 2020
05c8a3e
Select2Js upgrade from 4.0.3 to 4.0.13
kevzlou7979 Mar 3, 2020
7c38aff
CountUpJs upgraded from 1.9.0 to 2.0.4
kevzlou7979 Mar 3, 2020
17565a5
Input Mask upgraded version from 1.14.15 to 1.14.16
kevzlou7979 Mar 3, 2020
149f51b
Migrated MaterialCombobox (SlickJs) version from 1.6.0 to 1.8.0
kevzlou7979 Mar 11, 2020
24479b9
MaterialCombobox (CroppieJs) version from 2.5.0 to 2.6.4
kevzlou7979 Mar 11, 2020
ec6189a
Signature Pad from 2.3.0 to 3.0.0 Beta 3
kevzlou7979 Mar 13, 2020
614f602
MaterialDnd (InteractJs) upgrade version from 1.2.6 to 1.9.4 with new…
kevzlou7979 Mar 18, 2020
6c0dcdd
Major work on MaterialFileUploader upgrade from 4.3.0 to 5.7.0
kevzlou7979 Mar 18, 2020
7e3f30e
Follow up updates on ImageCropper upgrade
kevzlou7979 Mar 18, 2020
0d37035
Followup test updates on ImageCropper upgrades
kevzlou7979 Mar 18, 2020
11f6e0e
MaterialMasonry (MasonryJs) upgraded version from 4.0.0 to 4.2.2
kevzlou7979 Mar 19, 2020
02bd757
SimpleKeyboard
kevzlou7979 Mar 19, 2020
65ffe0a
Fixed https://github.com/GwtMaterialDesign/gwt-material-addins/issues…
kevzlou7979 Mar 28, 2020
167fae0
Simplify and Fixed null source on DragEventDispatcher and DropEventDi…
kevzlou7979 Mar 28, 2020
bcb83fd
MaterialAvatar - Convert ReplaceMode to enum instead of string (Type …
kevzlou7979 Apr 3, 2020
c4e16de
MaterialCarousel - Added new methods, events and properties.
kevzlou7979 Apr 3, 2020
b641cdd
Revert back Count Up version to 1.9.0
kevzlou7979 Apr 4, 2020
77a9c78
MaterialComboBox - Added New Features from upgrades.
kevzlou7979 Apr 4, 2020
8a87f29
Added DefaultResultTemplate and DefaultSelectionTemplate for combobox…
kevzlou7979 Apr 4, 2020
adb39f9
Add AnimationGlobalConfig.ENABLE_ANIMATION to turn on / off animation.
kevzlou7979 Apr 11, 2020
15b86fb
MaterialComboBox enhancements.
kevzlou7979 Apr 15, 2020
41f7a05
MaterialSideProfile - Updated legacy javadoc
kevzlou7979 Apr 24, 2020
118229d
Fixed https://github.com/GwtMaterialDesign/gwt-material-addins/issues…
kevzlou7979 Apr 24, 2020
f828da4
MaterialComboBox - Support for AllowBlank
kevzlou7979 Apr 27, 2020
5c0da66
DateRangePicker - added setDateInputValue() to manually update the in…
kevzlou7979 Apr 30, 2020
57328e9
Incubator NEW Widget - LoadingDots.
kevzlou7979 May 6, 2020
74d9bf6
MaterialComboBoxTest - updated test cases to the new version.
kevzlou7979 May 7, 2020
86e7f6e
Migrated FontAwesome version from 5.4.1 -> 5.13.0
kevzlou7979 May 17, 2020
2adb228
Starting GMD 2.3.1 we standardized the labelling system of all value …
kevzlou7979 Jun 23, 2020
e09028c
Added getLabel() on HasLabel and also refactor the returned widget to…
kevzlou7979 Jun 23, 2020
d35f7a9
ComboBox added constructor for building the items.
kevzlou7979 Jun 24, 2020
d92b07e
Fixed splitterLineColor overriding the parent's style.
kevzlou7979 Jun 25, 2020
9ee7819
Removed unused imports.
kevzlou7979 Jun 25, 2020
0b34eb2
Standardized InfiniteScroll to follow the data configs just like the …
kevzlou7979 Jun 29, 2020
e142e83
Layout Updates for InfiniteScroll - WIP
kevzlou7979 Jun 29, 2020
d82245f
Standardized the loader to make use of the recent GMD Loader structure
kevzlou7979 Jun 30, 2020
f5df330
WIP - Carousel JQuery 3.x Support
kevzlou7979 Jul 4, 2020
5899301
Kanban added clearAllBoards.
kevzlou7979 Jul 6, 2020
44ae628
Follow up changes on Promise API.
kevzlou7979 Jul 7, 2020
6001260
Dark Theme Support for OnScreenKeyboard.
kevzlou7979 Jul 7, 2020
7230ce4
Fixed MaterialCameraCapture issue with GWT 2.9 JSInterop.
kevzlou7979 Jul 7, 2020
96de8ca
Change branches to upgrade/jquery dependencies.
kevzlou7979 Jul 7, 2020
787e0fd
Fixed carousel issue on Hash selector (JQuery 3.x).
kevzlou7979 Jul 9, 2020
1399050
Fixed Carousel next & previous arrows not hiding.
kevzlou7979 Jul 10, 2020
c7b5992
Fixed CircularProgress Reloading & Redrawing issue.
kevzlou7979 Jul 12, 2020
7191e48
Fixed DateRangePicker High Serverity Issue.
kevzlou7979 Jul 13, 2020
6492c4c
Updated InputMask to support the latest GWT 2.9 JSinterop - Provide p…
kevzlou7979 Jul 13, 2020
bd00b5e
ScreenKeyboard - Fixed JSinterop issue with CCE (Convert String -> Ke…
kevzlou7979 Jul 13, 2020
2287c7a
Removed Module Exports on Signrature Page
kevzlou7979 Jul 13, 2020
2b222b4
LocalForage - fixed JSinterop issue with restrictions.
kevzlou7979 Jul 13, 2020
0f6fc15
JsAvatar - removed JSNI code.
kevzlou7979 Jul 13, 2020
caa0e67
Minor code cleanup
kevzlou7979 Jul 13, 2020
7d9603c
Standardized Inputmask callbacks.
kevzlou7979 Jul 13, 2020
ef176e8
JsLiveStamp & Menubar code cleanups.
kevzlou7979 Jul 13, 2020
e865db4
Added todos for JSNI -> JsInterop conversions. (Backlog)
kevzlou7979 Jul 13, 2020
937e958
Removed debug code on DateRangePicker
kevzlou7979 Jul 13, 2020
1745701
Fixed Kanban Board Drop Element Callback.
kevzlou7979 Jul 13, 2020
0094e55
Dropzone / FileUploader - fixed issue with CCE due to wrong param sou…
kevzlou7979 Jul 13, 2020
09497f8
Major work on migration of GMD addins / incubator to GWT 2.9
kevzlou7979 Jul 18, 2020
36c169c
Bump version to 2.4.0-SNAPSHOT
kevzlou7979 Jul 20, 2020
d7bc6ac
Trigger Travis Build
kevzlou7979 Jul 20, 2020
3f47797
Added dependency to gwt-material-table (Needed by Infinite Scroll)
kevzlou7979 Jul 20, 2020
6ca6d76
Add AddinsTestSuite for better performance on Travis Building Process…
kevzlou7979 Jul 22, 2020
2e0149c
Fixing ComboBox failing tests. Need to properly fire open() only if t…
kevzlou7979 Jul 23, 2020
9dbcfa3
MaterialWindow - Fixing dnd issue. We must need to attach the widget …
kevzlou7979 Jul 23, 2020
58d9e59
Minor config changes skip tests.
kevzlou7979 Jul 23, 2020
abd6b63
Release 2.4.0-rc1
kevzlou7979 Jul 24, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,20 @@ cache:
- $HOME/.m2
before_install:
# install the gwt-material-jquery library before we build the demo
- git clone -b release_2.3 https://github.com/GwtMaterialDesign/gwt-material-jquery.git
- git clone -b release_2.4.0 https://github.com/GwtMaterialDesign/gwt-material-jquery.git
- cd gwt-material-jquery
- mvn install -DskipTests=true -DdryRun=true
- cd ..
# install the gwt-material library before we build the demo
- git clone -b release_2.3 https://github.com/GwtMaterialDesign/gwt-material.git
- git clone -b release_2.4.0 https://github.com/GwtMaterialDesign/gwt-material.git
- cd gwt-material
- mvn install -DskipTests=true -DdryRun=true
- cd ..
# install the gwt-material-table library before we build the demo
- git clone -b release_2.4.0 https://github.com/GwtMaterialDesign/gwt-material-table.git
- cd gwt-material-table
- mvn install -DskipTests=true -DdryRun=true
- cd ..
install: true
before_script:
- chmod +x .utility/*
Expand Down
2 changes: 1 addition & 1 deletion .utility/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -ev
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "release_2.3" ]; then
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "release_2.4.0" ]; then
echo "<settings><servers><server><id>ossrh</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server></servers></settings>" > ~/settings.xml
mvn deploy -DskipTests --settings ~/settings.xml
fi
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@

Gwt Material Design Extra Components for https://github.com/GwtMaterialDesign/gwt-material <br>

## Current Version 2.3.0
## Current Version 2.4.0-rc1
```xml
<dependency>
<groupId>com.github.gwtmaterialdesign</groupId>
<artifactId>gwt-material-addins</artifactId>
<version>2.3.0</version>
<version>2.4.0-rc1</version>
</dependency>
```

## Snapshot Version 2.3.1-SNAPSHOT
## Snapshot Version 2.4.0-SNAPSHOT
```xml
<dependency>
<groupId>com.github.gwtmaterialdesign</groupId>
<artifactId>gwt-material-addins</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.4.0-SNAPSHOT</version>
</dependency>
```

Expand Down Expand Up @@ -112,4 +112,4 @@ We created [Java Docs](http://gwtmaterialdesign.github.io/gwt-material-demo/apid
- Toggle

## Follow Us
<a href="https://plus.google.com/u/0/communities/108005250093449814286"> Google Plus</a>
<a href="https://plus.google.com/u/0/communities/108005250093449814286"> Google Plus</a>
77 changes: 64 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,26 @@
<parent>
<artifactId>gwt-material-parent</artifactId>
<groupId>com.github.gwtmaterialdesign</groupId>
<version>2.3.0</version>
<version>2.4.0-rc1</version>
</parent>

<artifactId>gwt-material-addins</artifactId>
<packaging>gwt-lib</packaging>

<name>Gwt Material Addins</name>
<version>2.3.0</version>
<version>2.4.0-rc1</version>
<description>Extra Components of GWT Material Framework</description>

<properties>
<gwt-material.version>2.3.0</gwt-material.version>
<gwt-material.version>2.4.0-rc1</gwt-material.version>
<maven.failsafe.plugin>2.22.1</maven.failsafe.plugin>
</properties>

<scm>
<connection>scm:git:[email protected]:GwtMaterialDesign/gwt-material-addins.git</connection>
<developerConnection>scm:git:[email protected]:GwtMaterialDesign/gwt-material-addins.git</developerConnection>
<url>http://github.com/GwtMaterialDesign/gwt-material-addins</url>
<tag>v2.3.0</tag>
<tag>v2.4.0-rc1</tag>
</scm>

<licenses>
Expand Down Expand Up @@ -54,6 +55,13 @@
<version>${gwt-material.version}</version>
</dependency>

<!-- GwtMaterialTable -->
<dependency>
<groupId>com.github.gwtmaterialdesign</groupId>
<artifactId>gwt-material-table</artifactId>
<version>${gwt-material.version}</version>
</dependency>

<!-- GwtMaterial Test Jar -->
<dependency>
<groupId>com.github.gwtmaterialdesign</groupId>
Expand Down Expand Up @@ -89,9 +97,14 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>${htmlunit.version}</version>
</dependency>
</dependencies>

<repositories>
Expand All @@ -113,22 +126,35 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<configuration>
<additionalClasspathElements>
<additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement>
<additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement>
</additionalClasspathElements>
<useManifestOnlyJar>false</useManifestOnlyJar>
<forkMode>always</forkMode>
<argLine>-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog</argLine>
<excludes>
<exclude>**/**.java</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<!--
The integration-test phase runs after regular test phase (but before verify/install).
We use this to our advantage to peak at the compiled output from the GWTTestSuite
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin}</version>
<configuration>
<includes>
<include>**/*.class</include>
</includes>
</configuration>
</plugin>

<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
Expand All @@ -152,14 +178,39 @@
<skipModule>true</skipModule>
<classpathScope>compile+runtime</classpathScope>
<failOnError>true</failOnError>
<skipModule>true</skipModule>
</configuration>
<executions>
<execution>
<id>compile</id>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>default-test</id>
<goals>
<goal>test</goal>
</goals>
<configuration>
<!--
Because we expressly disable asserts in tests to avoid a compiler bug, we also must run surefire manually
on the JRE tests
-->
<excludes>
<exclude>**/ui/**.java</exclude>
</excludes>
<includes>
<include>**/AddinsTestSuite.java</include>
<include>**/IncubatorTestSuite.java</include>
</includes>

<!-- disable JVM asserts, but enable JS asserts for tests -->
<enableAssertions>false</enableAssertions>
<testArgs>
<testArg>-checkAssertions</testArg>
</testArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
*/
// @formatter:on
public class MaterialAutoComplete extends AbstractValueWidget<List<? extends Suggestion>> implements HasPlaceholder,
HasProgress, HasType<AutocompleteType>, HasSelectionHandlers<Suggestion>, HasReadOnly, HasFieldTypes {
HasProgress, HasType<AutocompleteType>, HasSelectionHandlers<Suggestion>, HasReadOnly, HasFieldTypes, HasLabel {

static {
if (MaterialAddins.isDebug()) {
Expand Down Expand Up @@ -349,7 +349,7 @@ protected void setup(SuggestOracle suggestions) {

panel.add(list);
panel.getElement().setAttribute("onclick",
"document.getElementById('" + autocompleteId + "').focus()");
"document.getElementById('" + autocompleteId + "').focus()");
panel.add(errorLabel);
suggestBox.setFocus(true);
}
Expand Down Expand Up @@ -487,7 +487,7 @@ public List<String> getItemValues() {

/**
* @param itemValues the itemsSelected to set
* @see #setValue(Object)
* @see #setValue(List, boolean)
*/
public void setItemValues(List<String> itemValues) {
setItemValues(itemValues, false);
Expand All @@ -496,7 +496,7 @@ public void setItemValues(List<String> itemValues) {
/**
* @param itemValues the itemsSelected to set
* @param fireEvents will fire value change event if true
* @see #setValue(Object)
* @see #setValue(List, boolean)
*/
public void setItemValues(List<String> itemValues, boolean fireEvents) {
if (itemValues == null) {
Expand Down Expand Up @@ -585,17 +585,19 @@ public void setPlaceholder(String placeholder) {
itemBox.getElement().setAttribute("placeholder", placeholder);
}

/**
* @param label
* @see gwt.material.design.client.ui.MaterialValueBox#setLabel(String)
*/
@Override
public void setLabel(String label) {
this.label.setText(label);
if (!getPlaceholder().isEmpty()) {
this.label.setStyleName(CssName.ACTIVE);
}
}

@Override
public String getLabel() {
return label.getText();
}

/**
* Gets the current {@link MaterialChipProvider}. By default, the class uses
* an instance of {@link DefaultMaterialChipProvider}.
Expand Down Expand Up @@ -820,7 +822,7 @@ public void setEnabled(boolean enabled) {
itemBox.setEnabled(enabled);
}

public Label getLabel() {
public Label getLabelWidget() {
return label;
}

Expand Down Expand Up @@ -930,4 +932,4 @@ protected FieldTypeMixin<MaterialAutoComplete> getFieldTypeMixin() {
}
return fieldTypeMixin;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,11 @@ protected void onLoad() {
@Override
public void load() {
if (options != null) {
loadOption(options);
JsAvatar.config = options;
}

JsAvatar.jdenticon();
}

protected static native void loadOption(AvatarOptions options) /*-{
$wnd.jdenticon_config = options;
}-*/;

@Override
public void unload() {
}
Expand All @@ -124,9 +119,7 @@ public String getName() {
}

/**
* Replaced by {@link MaterialAvatar#setValue(Object)}
*
* @param name
* Replaced by {@link MaterialAvatar#setValue(String, boolean)} )}
*/
@Deprecated
public void setName(String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,21 +126,21 @@ public final String getReplaceMode() {
* Specifies when icons will be rendered. This option has no effect on Node.js.
* <ul>
* <li>
* "never" – icons are never rendered automatically. You need to call jdenticon.update() manually to render
* {@link ReplaceMode#NEVER} – icons are never rendered automatically. You need to call jdenticon.update() manually to render
* identicons.
* </li>
* <li>
* "once" – icons are rendered once the page has loaded. Any dynamically inserted or modified icons will
* {@link ReplaceMode#ONCE} – icons are rendered once the page has loaded. Any dynamically inserted or modified icons will
* not be rendered unless jdenticon.update() is manually called.
* </li>
* <li>
* "observe" – icons are rendered upon page load, and the DOM is monitored for new icons using a MutationObserver.
* {@link ReplaceMode#OBSERVE} – icons are rendered upon page load, and the DOM is monitored for new icons using a MutationObserver.
* Use this if icons are inserted dynamically, e.g. by using Angular, React or VanillaJS. This option behaves as "once" in IE<11.
* </li>
* </ul>
*/
@JsOverlay
public final void setReplaceMode(String replaceMode) {
this.replaceMode = replaceMode;
public final void setReplaceMode(ReplaceMode replaceMode) {
this.replaceMode = replaceMode.getName();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,20 @@
import gwt.material.design.jquery.client.api.JQueryElement;
import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;

/**
* JSInterop utils for Avatar component
*
* @author kevzlou7979
*/
@JsType(isNative = true)
@JsType(isNative = true, name = "jdenticon", namespace = JsPackage.GLOBAL)
public class JsAvatar extends JQueryElement {

@JsProperty
public static AvatarOptions config;

@JsMethod(namespace = JsPackage.GLOBAL)
public static native void jdenticon();

Expand Down
Loading