diff --git a/pom.xml b/pom.xml index 6826f0e..745b483 100644 --- a/pom.xml +++ b/pom.xml @@ -353,6 +353,7 @@ **/integration/* **/DemoView.class **/DemoLayout.class + **/dynamic-theme.properties @@ -387,10 +388,17 @@ 21 21 - 25.0.0-beta5 + 25.0.3 11.0.26 5.2.0 + + + com.vaadin + vaadin-dev + true + + diff --git a/src/main/java/com/flowingcode/vaadin/addons/granitealert/GraniteAlert.java b/src/main/java/com/flowingcode/vaadin/addons/granitealert/GraniteAlert.java index 4ef1167..20a2f0f 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/granitealert/GraniteAlert.java +++ b/src/main/java/com/flowingcode/vaadin/addons/granitealert/GraniteAlert.java @@ -2,7 +2,7 @@ * #%L * Granite Alert * %% - * Copyright (C) 2018 - 2020 Flowing Code + * Copyright (C) 2018 - 2026 Flowing Code * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import com.vaadin.flow.component.HasStyle; import com.vaadin.flow.component.Tag; import com.vaadin.flow.component.dependency.JsModule; +import com.vaadin.flow.component.dependency.NpmPackage; /**Wrapper for {@code granite-alert} Polymer element * @@ -36,6 +37,7 @@ @Tag("granite-alert-mixin") //@NpmPackage(value = "@granite-elements/granite-alert", version = "^2.1.2") //@JsModule("@granite-elements/granite-alert/granite-alert.js") +@NpmPackage(value = "@polymer/polymer", version = "3.5.2") @JsModule("./granite-alert/granite-alert.js") @JsModule("./granite-alert-mixin/granite-alert-mixin.js") public class GraniteAlert extends Component implements HasComponents, HasStyle { diff --git a/src/test/resources/META-INF/dynamic-theme.properties b/src/test/resources/META-INF/dynamic-theme.properties new file mode 100644 index 0000000..62d1f6f --- /dev/null +++ b/src/test/resources/META-INF/dynamic-theme.properties @@ -0,0 +1 @@ +theme=LUMO \ No newline at end of file