From 45f3acae1681910a00f90a63f55fb7754d4b69dd Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Thu, 26 Feb 2026 10:09:36 -0300 Subject: [PATCH 1/4] ci: update vaadin version to 25.0.3 in v25 profile --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6826f0e..6ccce18 100644 --- a/pom.xml +++ b/pom.xml @@ -387,7 +387,7 @@ 21 21 - 25.0.0-beta5 + 25.0.3 11.0.26 5.2.0 From 89ea375337d4c8697b47bf04ec5c546a58c82e2b Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Thu, 26 Feb 2026 10:10:26 -0300 Subject: [PATCH 2/4] build: add vaadin-dev dependency --- pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pom.xml b/pom.xml index 6ccce18..8acae9b 100644 --- a/pom.xml +++ b/pom.xml @@ -391,6 +391,13 @@ 11.0.26 5.2.0 + + + com.vaadin + vaadin-dev + true + + From 2c05b22819e0a47495f8ea3c2b31191ba90cfa65 Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Thu, 26 Feb 2026 10:41:01 -0300 Subject: [PATCH 3/4] feat: add polymer dependency for Vaadin 25 support Close #18 --- .../flowingcode/vaadin/addons/granitealert/GraniteAlert.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { From b84ebd141c74b0f108e56935ff6964c1ec9f632a Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Thu, 26 Feb 2026 10:42:05 -0300 Subject: [PATCH 4/4] chore(demo): add dynamic theme properties --- pom.xml | 1 + src/test/resources/META-INF/dynamic-theme.properties | 1 + 2 files changed, 2 insertions(+) create mode 100644 src/test/resources/META-INF/dynamic-theme.properties diff --git a/pom.xml b/pom.xml index 8acae9b..745b483 100644 --- a/pom.xml +++ b/pom.xml @@ -353,6 +353,7 @@ **/integration/* **/DemoView.class **/DemoLayout.class + **/dynamic-theme.properties 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