Skip to content

Commit

Permalink
Upgrade Vaadin version. Refactor Component sample UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
juuso-vaadin committed May 27, 2024
1 parent fc1094d commit 62d9073
Show file tree
Hide file tree
Showing 14 changed files with 1,067 additions and 1,267 deletions.
2 changes: 0 additions & 2 deletions frontend/views/chartsview/charts-view.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import {html, LitElement, customElement} from 'lit-element';
import '@polymer/iron-icon/iron-icon';
import '@polymer/iron-ajax/iron-ajax'
import '@vaadin/vaadin-button';
import '@vaadin/vaadin-checkbox';
import '@vaadin/vaadin-combo-box';
Expand Down
552 changes: 0 additions & 552 deletions frontend/views/componentview/component-view.ts

This file was deleted.

501 changes: 178 additions & 323 deletions package.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<description>Breeze is build on top of Lumo and heavily inspired by visual style of TailwindUI. It can be used in light or dark mode and contains a custom palette for Vaadin Charts.</description>

<properties>
<vaadin.version>24.0.5</vaadin.version>
<vaadin.version>24.3.12</vaadin.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
background-color: var(--lumo-primary-color-10pct);
}

:host([part~='overflow'])::before,
:host([part~='overflow'])::after {
:host([slot='overflow'])::before,
:host([slot='overflow'])::after {
border-color: var(--lumo-primary-color-10pct);
}
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
package com.example.application.data.entity;


import com.example.application.data.AbstractEntity;

import java.time.LocalDate;

public class SamplePerson extends AbstractEntity {

private String firstName;
private String lastName;
private String name;
private String email;
private String phone;
private LocalDate dateOfBirth;
private String occupation;
private boolean important;

public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
public String getName() {
return name;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
public void setName(String name) {
this.name = name;
}
public String getEmail() {
return email;
Expand Down Expand Up @@ -56,5 +49,4 @@ public boolean isImportant() {
public void setImportant(boolean important) {
this.important = important;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public static SamplePersonRepository get() {
ExampleDataGenerator<SamplePerson> samplePersonRepositoryGenerator = new ExampleDataGenerator<>(
SamplePerson.class, LocalDateTime.of(2021, 9, 27, 0, 0, 0));
samplePersonRepositoryGenerator.setData(SamplePerson::setId, DataType.ID);
samplePersonRepositoryGenerator.setData(SamplePerson::setFirstName, DataType.FIRST_NAME);
samplePersonRepositoryGenerator.setData(SamplePerson::setLastName, DataType.LAST_NAME);
samplePersonRepositoryGenerator.setData(SamplePerson::setName, DataType.FULL_NAME);
samplePersonRepositoryGenerator.setData(SamplePerson::setEmail, DataType.EMAIL);
samplePersonRepositoryGenerator.setData(SamplePerson::setPhone, DataType.PHONE_NUMBER);
samplePersonRepositoryGenerator.setData(SamplePerson::setDateOfBirth, DataType.DATE_OF_BIRTH);
Expand Down
Loading

0 comments on commit 62d9073

Please sign in to comment.