diff --git a/README.md b/README.md
index 01333c5..7c95075 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ This is the relevant dependency:
pl.unforgiven
superfields
- 0.19.0
+ 0.19.1
```
@@ -65,10 +65,11 @@ The author of the majority of the code is me (Miki), but this project would not
* Simon Martinelli
* Dmitry Nazukin
* Stefan Penndorf
+* Sebastian Penttinen
* Stuart Robinson
* Kaspar Scherrer
* Tomi Virkki
-* Martin Vysny
+* Martin Vyšný
* Leif Åstrand
## Support
diff --git a/demo-v24/pom.xml b/demo-v24/pom.xml
index 0320f24..79aca05 100644
--- a/demo-v24/pom.xml
+++ b/demo-v24/pom.xml
@@ -4,11 +4,11 @@
superfields-parent
pl.unforgiven
- 0.19.0
+ 0.19.1
superfields-demo-v24
- 0.19.0
+ 0.19.1
V24+ demo app for SuperFields
Showcase application for V24+ and SuperFields.
war
@@ -22,7 +22,7 @@
pl.unforgiven
superfields
- 0.19.0
+ 0.19.1
jakarta.servlet
@@ -136,11 +136,11 @@
build-frontend
compile
+
+ false
+
-
- true
-
diff --git a/demo-v24/src/main/java/org/vaadin/miki/InfoPage.java b/demo-v24/src/main/java/org/vaadin/miki/InfoPage.java
index 4783445..839104a 100644
--- a/demo-v24/src/main/java/org/vaadin/miki/InfoPage.java
+++ b/demo-v24/src/main/java/org/vaadin/miki/InfoPage.java
@@ -16,7 +16,7 @@
import java.io.IOException;
import java.io.InputStream;
-import java.util.Locale;
+import java.util.Collection;
/**
* Information about the demo, its organisation and components.
@@ -37,12 +37,14 @@ public InfoPage() {
new Span("Bottom left corner of the browser window will show major notifications from each component - like value change notifications. Bottom right corner is reserved for secondary notifications, e.g. focus and blur events.")
);
+ final Collection> types = DemoComponentFactory.get().getDemoableComponentTypes();
final ItemGrid> grid = new ItemGrid>()
- .withItems(DemoComponentFactory.get().getDemoableComponentTypes())
+ .withItems(types)
.withColumnCount(5)
.withPaddingCellsClickable(false)
.withCellGenerator(this::buildDisplayCell)
- .withId("presentation-grid");
+ .withId("presentation-grid")
+ .withLabel("There are %d components with demo pages:".formatted(types.size()));
grid.addValueChangeListener(event -> this.getUI()
.ifPresent(ui ->
ui.navigate(
@@ -65,16 +67,14 @@ private Component buildDisplayCell(Class extends Component> type, int row, int
final Div result = new Div();
result.add(new H3(type.getSimpleName()));
- try (InputStream resource = this.getClass().getClassLoader().getResourceAsStream(type.getSimpleName().toLowerCase(Locale.ROOT) + ".md")) {
+ final String resourceName = "/" + type.getSimpleName() + ".md";
+ try (InputStream resource = this.getClass().getClassLoader().getResourceAsStream(resourceName)) {
if (resource != null) {
- try {
final Span desc = new Span(new String(resource.readAllBytes()));
desc.addClassName("presentation-description");
result.add(desc);
- } catch (IOException e) {
- LOGGER.error("could not read description for component {}", type.getSimpleName(), e);
- }
}
+ else LOGGER.error("did not find resource {}", resourceName);
} catch (IOException e) {
LOGGER.error("could not open description for component {}", type.getSimpleName(), e);
}
diff --git a/pom.xml b/pom.xml
index c0deaee..d204801 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,22 +1,24 @@
-
+
4.0.0
pl.unforgiven
superfields-parent
- 0.19.0
+ 0.19.1
superfields
demo-v24
SuperFields - Root project for SuperFields
- Root project for SuperFields. Includes basic dependencies, repositories and other configuration.
+ Root project for SuperFields. Includes basic dependencies, repositories and other configuration.
+
pom
17
17
UTF-8
- 24.3.0
+ 24.3.12
\ No newline at end of file
diff --git a/superfields/pom.xml b/superfields/pom.xml
index 301fd32..c24e288 100644
--- a/superfields/pom.xml
+++ b/superfields/pom.xml
@@ -9,13 +9,13 @@
SuperFields
Code for various Vaadin 24 fields and other components.
https://www.unforgiven.pl/superfields
- 0.19.0
+ 0.19.1
17
17
UTF-8
- 24.3.0
+ 24.3.12
3.1.2
3.4.1
diff --git a/superfields/release-notes.md b/superfields/release-notes.md
index 0888176..fcd4638 100644
--- a/superfields/release-notes.md
+++ b/superfields/release-notes.md
@@ -1,3 +1,11 @@
+# 0.19.1 - Bug fixes
+## New features and enhancements
+(nothing reported)
+## Changes to API
+* \#514 - [Upgrade Vaadin to 24.3.12](https://github.com/vaadin-miki/super-fields/issues/514)
+## Bug fixes
+* \#511 - [AFTER_* label positions are incorrect for custom fields](https://github.com/vaadin-miki/super-fields/issues/511)
+* \#513 - [SuperTextField.inputMode cannot be set inside a Grid.Column](https://github.com/vaadin-miki/super-fields/issues/513)
# 0.19.0 - Component(Multi)Select and refreshed LazyLoad
## New features and enhancements
* \#488 - [ComponentSelect (and ButtonSelect as an example)](https://github.com/vaadin-miki/super-fields/issues/488)
diff --git a/superfields/src/main/java/org/vaadin/miki/superfields/collections/MapField.java b/superfields/src/main/java/org/vaadin/miki/superfields/collections/MapField.java
index be3470f..c4da264 100644
--- a/superfields/src/main/java/org/vaadin/miki/superfields/collections/MapField.java
+++ b/superfields/src/main/java/org/vaadin/miki/superfields/collections/MapField.java
@@ -37,7 +37,7 @@
* @author miki
* @since 2022-04-08
*/
-@CssImport(value = "./styles/label-positions.css", themeFor = "vaadin-custom-field")
+@CssImport(value = "./styles/label-positions.css", themeFor = "map-field")
@Tag("map-field")
@JsModule("./map-field.js")
public class MapField extends CustomField