Skip to content

Commit

Permalink
Release 0.10.2 ready (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaadin-miki authored Jun 17, 2021
1 parent 9e3d1e7 commit 128da8c
Show file tree
Hide file tree
Showing 20 changed files with 2,335 additions and 1,021 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This is the relevant dependency:
<dependency>
<groupId>org.vaadin.miki</groupId>
<artifactId>superfields</artifactId>
<version>0.10.1</version>
<version>0.10.2</version>
</dependency>
```

Expand Down
2,864 changes: 1,991 additions & 873 deletions demo-v14/package-lock.json

Large diffs are not rendered by default.

44 changes: 29 additions & 15 deletions demo-v14/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"license": "UNLICENSED",
"vaadin": {
"dependencies": {
"lit-element": "2.4.0",
"lit-element": "2.5.1",
"@polymer/polymer": "3.2.0",
"@webcomponents/webcomponentsjs": "^2.2.10",
"@vaadin/vaadin-crud": "1.3.0",
"@vaadin/vaadin-grid": "5.7.11",
"@vaadin/vaadin-grid": "5.7.13",
"@vaadin/vaadin-icons": "4.3.2",
"@vaadin/vaadin-split-layout": "4.3.0",
"@vaadin/vaadin-combo-box": "5.4.7",
"@vaadin/vaadin-cookie-consent": "1.2.0",
"@vaadin/vaadin-core-shrinkwrap": "14.5.1",
"@vaadin/vaadin-core-shrinkwrap": "14.6.3",
"@vaadin/vaadin-upload": "4.4.1",
"@vaadin/vaadin-dialog": "2.5.2",
"@vaadin/vaadin-select": "2.4.0",
Expand All @@ -21,9 +21,9 @@
"@vaadin/vaadin-board": "2.2.0",
"@vaadin/vaadin-notification": "1.6.1",
"@vaadin/vaadin-charts": "6.3.1",
"@vaadin/vaadin-grid-pro": "2.2.2",
"@vaadin/vaadin-grid-pro": "2.3.0",
"@vaadin/vaadin-progress-bar": "1.3.0",
"@vaadin/vaadin-shrinkwrap": "14.5.1",
"@vaadin/vaadin-shrinkwrap": "14.6.3",
"@vaadin/vaadin-date-time-picker": "1.4.0",
"@vaadin/vaadin-ordered-layout": "1.4.0",
"@vaadin/vaadin-login": "1.2.0",
Expand All @@ -47,7 +47,9 @@
"@vaadin/vaadin-lumo-styles": "1.6.0",
"@vaadin/vaadin-material-styles": "1.3.2",
"@vaadin/vaadin-rich-text-editor": "1.3.0",
"@vaadin/vaadin-avatar": "1.0.4"
"@vaadin/vaadin-avatar": "1.0.4",
"construct-style-sheets-polyfill": "2.4.16",
"lit-html": "1.4.1"
},
"devDependencies": {
"webpack-babel-multi-target-plugin": "2.3.3",
Expand All @@ -60,21 +62,26 @@
"webpack-merge": "4.2.2",
"webpack-dev-server": "3.11.0",
"ts-loader": "8.0.12",
"typescript": "4.0.3"
"typescript": "4.0.3",
"css-loader": "4.2.1",
"file-loader": "6.1.0",
"extra-watch-webpack-plugin": "1.0.3",
"lit-css-loader": "0.0.4",
"extract-loader": "5.1.0"
},
"hash": "56914081d54014b03eb1ee08c225932681a8473d9f7d12b1d9495d8e30f01d0f"
"hash": "cdb69899f8ae574ab841cfbd8eedacf79ec50740321b20bf492b8124931756b2"
},
"dependencies": {
"lit-element": "2.4.0",
"lit-element": "2.5.1",
"@polymer/polymer": "3.2.0",
"@webcomponents/webcomponentsjs": "^2.2.10",
"@vaadin/vaadin-crud": "1.3.0",
"@vaadin/vaadin-grid": "5.7.11",
"@vaadin/vaadin-grid": "5.7.13",
"@vaadin/vaadin-icons": "4.3.2",
"@vaadin/vaadin-split-layout": "4.3.0",
"@vaadin/vaadin-combo-box": "5.4.7",
"@vaadin/vaadin-cookie-consent": "1.2.0",
"@vaadin/vaadin-core-shrinkwrap": "14.5.1",
"@vaadin/vaadin-core-shrinkwrap": "14.6.3",
"@vaadin/vaadin-upload": "4.4.1",
"@vaadin/vaadin-dialog": "2.5.2",
"@vaadin/vaadin-select": "2.4.0",
Expand All @@ -83,9 +90,9 @@
"@vaadin/vaadin-board": "2.2.0",
"@vaadin/vaadin-notification": "1.6.1",
"@vaadin/vaadin-charts": "6.3.1",
"@vaadin/vaadin-grid-pro": "2.2.2",
"@vaadin/vaadin-grid-pro": "2.3.0",
"@vaadin/vaadin-progress-bar": "1.3.0",
"@vaadin/vaadin-shrinkwrap": "14.5.1",
"@vaadin/vaadin-shrinkwrap": "14.6.3",
"@vaadin/vaadin-date-time-picker": "1.4.0",
"@vaadin/vaadin-ordered-layout": "1.4.0",
"@vaadin/vaadin-login": "1.2.0",
Expand All @@ -109,7 +116,9 @@
"@vaadin/vaadin-lumo-styles": "1.6.0",
"@vaadin/vaadin-material-styles": "1.3.2",
"@vaadin/vaadin-rich-text-editor": "1.3.0",
"@vaadin/vaadin-avatar": "1.0.4"
"@vaadin/vaadin-avatar": "1.0.4",
"construct-style-sheets-polyfill": "2.4.16",
"lit-html": "1.4.1"
},
"devDependencies": {
"webpack-babel-multi-target-plugin": "2.3.3",
Expand All @@ -122,6 +131,11 @@
"webpack-merge": "4.2.2",
"webpack-dev-server": "3.11.0",
"ts-loader": "8.0.12",
"typescript": "4.0.3"
"typescript": "4.0.3",
"css-loader": "4.2.1",
"file-loader": "6.1.0",
"extra-watch-webpack-plugin": "1.0.3",
"lit-css-loader": "0.0.4",
"extract-loader": "5.1.0"
}
}
6 changes: 3 additions & 3 deletions demo-v14/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<artifactId>superfields-parent</artifactId>
<groupId>org.vaadin.miki</groupId>
<version>0.10.1</version>
<version>0.10.2</version>
</parent>

<artifactId>superfields-demo-v14</artifactId>
<version>0.10.1</version>
<version>0.10.2</version>
<name>V14 demo app for SuperFields</name>
<description>Showcase application for V14 and SuperFields.</description>
<packaging>war</packaging>
Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>org.vaadin.miki</groupId>
<artifactId>superfields</artifactId>
<version>0.10.1</version>
<version>0.10.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package org.vaadin.miki.demo.builders;

import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.button.Button;
import com.vaadin.flow.component.html.Span;
import com.vaadin.flow.component.orderedlayout.FlexComponent;
import com.vaadin.flow.component.orderedlayout.HorizontalLayout;
import org.vaadin.miki.demo.ContentBuilder;
import org.vaadin.miki.demo.Order;
import org.vaadin.miki.markers.CanModifyText;

import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.util.function.Consumer;

@Order(12)
public class CanModifyTextBuilder implements ContentBuilder<CanModifyText> {

@Override
public void buildContent(CanModifyText component, Consumer<Component[]> callback) {
final Button addTextFromServer = new Button("Replace selection", event ->
component.modifyText(String.format("(utc epoch time is %d)", LocalDateTime.now().toEpochSecond(ZoneOffset.UTC)))
);
final HorizontalLayout layout = new HorizontalLayout(new Span("Select something (or not) in the field above, then press the button: "), addTextFromServer);
layout.setAlignItems(FlexComponent.Alignment.CENTER);
callback.accept(new Component[]{layout});
}
}
Loading

0 comments on commit 128da8c

Please sign in to comment.