diff --git a/.travis.yml b/.travis.yml index ac50826f7..26d526dff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ cache: - $HOME/.m2 before_install: # install the gwt-material-jquery because it will depends on built in jquery -- git clone -b release_2.7.0 https://github.com/GwtMaterialDesign/gwt-material-jquery.git +- git clone -b release_2.7.1 https://github.com/GwtMaterialDesign/gwt-material-jquery.git - cd gwt-material-jquery - mvn install -DskipTests=true -DdryRun=true - cd .. diff --git a/.utility/deploy.sh b/.utility/deploy.sh index a540c2ad5..44ac15065 100644 --- a/.utility/deploy.sh +++ b/.utility/deploy.sh @@ -1,6 +1,6 @@ #!/bin/bash set -ev -if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "release_2.7.0" ]; then +if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "release_2.7.1" ]; then echo "ossrh\${env.OSSRH_USER}\${env.OSSRH_PASS}" > ~/settings.xml mvn deploy -DskipTests --settings ~/settings.xml fi \ No newline at end of file diff --git a/README.md b/README.md index 35c952711..28b039c7d 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,12 @@ Support documentation can be found [here](https://github.com/GwtMaterialDesign/g We created Java Docs for developers ## Maven -### Current Version 2.7.0 +### Current Version 2.7.1 ```xml com.github.gwtmaterialdesign gwt-material - 2.7.0 + 2.7.1 ``` ### Snapshot Version 2.8.0-SNAPSHOT diff --git a/gwt-material/pom.xml b/gwt-material/pom.xml index dec557bfc..89afafb2e 100644 --- a/gwt-material/pom.xml +++ b/gwt-material/pom.xml @@ -4,7 +4,7 @@ gwt-material-parent com.github.gwtmaterialdesign - 2.7.0 + 2.7.1 4.0.0 diff --git a/gwt-material/src/main/java/gwt/material/design/client/base/viewport/ViewPortZoomHandler.java b/gwt-material/src/main/java/gwt/material/design/client/base/viewport/ViewPortZoomHandler.java new file mode 100644 index 000000000..dc58237d2 --- /dev/null +++ b/gwt-material/src/main/java/gwt/material/design/client/base/viewport/ViewPortZoomHandler.java @@ -0,0 +1,37 @@ +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2023 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ +package gwt.material.design.client.base.viewport; + +public interface ViewPortZoomHandler { + + void load(); + + void unload(); + + double getCurrentViewportRatio(); + + double getMaxViewPortRatio(); + + void scale(); + + boolean isOutOfZoomLevel(); + + void resetZoom(); +} diff --git a/pom.xml b/pom.xml index 004d9eb78..d8f769000 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.github.gwtmaterialdesign gwt-material-parent - 2.7.0 + 2.7.1 pom gwt-material @@ -75,7 +75,7 @@ scm:git:git@github.com:GwtMaterialDesign/gwt-material.git scm:git:git@github.com:GwtMaterialDesign/gwt-material.git http://github.com/GwtMaterialDesign/gwt-material - v2.7.0 + v2.7.1