diff --git a/CHANGELOG.md b/CHANGELOG.md index 1051e05..2a5e96e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.3.0-SNAPSHOT] - 2023-07-25 + +- Moved to gwt 2.10.0 +- Removed the `gwtquery` dependency [#25436] + ## [v1.2.0] - 2022-10-28 - [#24053] Fixing issue diff --git a/pom.xml b/pom.xml index a8f3290..1df071e 100644 --- a/pom.xml +++ b/pom.xml @@ -5,14 +5,14 @@ maven-parent org.gcube.tools - 1.1.0 + 1.2.0 org.gcube.portlets.widgets switch-button-widget jar - 1.2.0 + 1.3.0-SNAPSHOT gCube Switch Button Widget gCube Switch Button Widget is a GWT Widget that can be used as a Checbox with a iOS sliding effect. @@ -24,7 +24,7 @@ - 2.8.2 + 2.10.0 distro 1.8 1.8 @@ -63,11 +63,6 @@ org.gcube.portlets.user gcube-widgets - - com.googlecode.gwtquery - gwtquery - 1.5-beta1 - diff --git a/src/main/java/org/gcube/portlets/widgets/switchbutton/SwitchButton.gwt.xml b/src/main/java/org/gcube/portlets/widgets/switchbutton/SwitchButton.gwt.xml index 0e250b8..c2b6417 100644 --- a/src/main/java/org/gcube/portlets/widgets/switchbutton/SwitchButton.gwt.xml +++ b/src/main/java/org/gcube/portlets/widgets/switchbutton/SwitchButton.gwt.xml @@ -5,8 +5,7 @@ - - + --> diff --git a/src/main/java/org/gcube/portlets/widgets/switchbutton/client/SwitchButton.java b/src/main/java/org/gcube/portlets/widgets/switchbutton/client/SwitchButton.java index ef3c6b7..d1b7ab1 100644 --- a/src/main/java/org/gcube/portlets/widgets/switchbutton/client/SwitchButton.java +++ b/src/main/java/org/gcube/portlets/widgets/switchbutton/client/SwitchButton.java @@ -1,18 +1,15 @@ package org.gcube.portlets.widgets.switchbutton.client; -import static com.google.gwt.query.client.GQuery.$; - import org.gcube.portlets.user.gcubewidgets.client.elements.Div; import org.gcube.portlets.user.gcubewidgets.client.elements.Span; import com.google.gwt.core.client.GWT; +import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.event.logical.shared.ValueChangeEvent; import com.google.gwt.event.logical.shared.ValueChangeHandler; import com.google.gwt.event.shared.HandlerRegistration; -import com.google.gwt.query.client.css.CSS; -import com.google.gwt.query.client.css.Length; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.user.client.DOM; @@ -41,7 +38,8 @@ public class SwitchButton extends Composite implements HasName, HasValue