Skip to content

Commit

Permalink
Update vaadin-tabs, regenerate the components. (#3559)
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneToIgnore authored Feb 15, 2018
1 parent 53e8c9f commit fece411
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Vaadin.TabElement",
"tag": "vaadin-tab",
"baseUrl": "vaadin-tabs/src/vaadin-tab.html",
"version": "2.0.0-beta1",
"version": "2.0.0-beta2",
"properties": [
{
"name": "value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Vaadin.TabsElement",
"tag": "vaadin-tabs",
"baseUrl": "vaadin-tabs/src/vaadin-tabs.html",
"version": "2.0.0-beta1",
"version": "2.0.0-beta2",
"properties": [
{
"name": "selected",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,23 @@
*/
package com.vaadin.flow.component.combobox;

import javax.annotation.Generated;

import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.HasStyle;
import com.vaadin.flow.component.ComponentEvent;
import com.vaadin.flow.component.ComponentEventListener;
import com.vaadin.flow.component.ComponentSupplier;
import javax.annotation.Generated;
import com.vaadin.flow.component.DomEvent;
import com.vaadin.flow.component.EventData;
import com.vaadin.flow.component.HasStyle;
import com.vaadin.flow.component.NotSupported;
import com.vaadin.flow.component.Synchronize;
import com.vaadin.flow.component.Tag;
import com.vaadin.flow.component.dependency.HtmlImport;
import com.vaadin.flow.component.Synchronize;
import com.vaadin.flow.shared.Registration;

import elemental.json.JsonArray;
import elemental.json.JsonObject;
import com.vaadin.flow.component.NotSupported;
import com.vaadin.flow.component.DomEvent;
import com.vaadin.flow.component.ComponentEvent;
import com.vaadin.flow.component.ComponentEventListener;
import com.vaadin.flow.shared.Registration;
import com.vaadin.flow.component.EventData;

/**
* <p>
Expand Down Expand Up @@ -776,11 +778,11 @@ protected Registration addCustomValueSetListener(
public static class SelectedItemChangeEvent<R extends GeneratedVaadinComboBoxLight<R>>
extends ComponentEvent<R> {
private final JsonObject detail;
private final String detailValue;
private final JsonObject detailValue;

public SelectedItemChangeEvent(R source, boolean fromClient,
@EventData("event.detail") JsonObject detail,
@EventData("event.detail.value") String detailValue) {
@EventData("event.detail.value") JsonObject detailValue) {
super(source, fromClient);
this.detail = detail;
this.detailValue = detailValue;
Expand All @@ -790,7 +792,7 @@ public JsonObject getDetail() {
return detail;
}

public String getDetailValue() {
public JsonObject getDetailValue() {
return detailValue;
}
}
Expand Down Expand Up @@ -940,4 +942,4 @@ protected Registration addInvalidChangeListener(
return addListener(InvalidChangeEvent.class,
(ComponentEventListener) listener);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
*/
package com.vaadin.flow.component.tabs;

import javax.annotation.Generated;

import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.HasStyle;
import com.vaadin.flow.component.ComponentSupplier;
import javax.annotation.Generated;
import com.vaadin.flow.component.HasStyle;
import com.vaadin.flow.component.Tag;
import com.vaadin.flow.component.dependency.HtmlImport;

Expand Down Expand Up @@ -87,7 +88,7 @@
* </p>
*/
@Generated({ "Generator: com.vaadin.generator.ComponentGenerator#1.0-SNAPSHOT",
"WebComponent: Vaadin.TabElement#2.0.0-beta1", "Flow#1.0-SNAPSHOT" })
"WebComponent: Vaadin.TabElement#2.0.0-beta2", "Flow#1.0-SNAPSHOT" })
@Tag("vaadin-tab")
@HtmlImport("frontend://bower_components/vaadin-tabs/src/vaadin-tab.html")
public abstract class GeneratedVaadinTab<R extends GeneratedVaadinTab<R>>
Expand Down Expand Up @@ -190,4 +191,4 @@ protected boolean isSelectedBoolean() {
protected void setSelected(boolean selected) {
getElement().setProperty("selected", selected);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
*/
package com.vaadin.flow.component.tabs;

import javax.annotation.Generated;

import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.HasStyle;
import com.vaadin.flow.component.ComponentSupplier;
import javax.annotation.Generated;
import com.vaadin.flow.component.HasStyle;
import com.vaadin.flow.component.Tag;
import com.vaadin.flow.component.dependency.HtmlImport;

Expand Down Expand Up @@ -95,7 +96,7 @@
* </p>
*/
@Generated({ "Generator: com.vaadin.generator.ComponentGenerator#1.0-SNAPSHOT",
"WebComponent: Vaadin.TabsElement#2.0.0-beta1", "Flow#1.0-SNAPSHOT" })
"WebComponent: Vaadin.TabsElement#2.0.0-beta2", "Flow#1.0-SNAPSHOT" })
@Tag("vaadin-tabs")
@HtmlImport("frontend://bower_components/vaadin-tabs/src/vaadin-tabs.html")
public abstract class GeneratedVaadinTabs<R extends GeneratedVaadinTabs<R>>
Expand All @@ -104,4 +105,4 @@ public abstract class GeneratedVaadinTabs<R extends GeneratedVaadinTabs<R>>
protected void focus() {
getElement().callFunction("focus");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"vaadin-dialog": "2.0.0-beta1",
"vaadin-upload": "4.0.0-beta1",
"vaadin-progress-bar": "1.0.0-beta1",
"vaadin-tabs": "2.0.0-beta1",
"vaadin-tabs": "2.0.0-beta2",
"vaadin-radio-button": "1.0.0-beta1",
"vaadin-notification": "1.0.0-beta1",
"vaadin-list-box": "1.0.0-beta1"
Expand Down

0 comments on commit fece411

Please sign in to comment.