diff --git a/frontend/demo/component/basiclayouts/basic-layouts-horizontal-layout-wrapping.ts b/frontend/demo/component/basiclayouts/basic-layouts-horizontal-layout-wrapping.ts index 8e9557682c..439d046201 100644 --- a/frontend/demo/component/basiclayouts/basic-layouts-horizontal-layout-wrapping.ts +++ b/frontend/demo/component/basiclayouts/basic-layouts-horizontal-layout-wrapping.ts @@ -1,10 +1,8 @@ import 'Frontend/demo/init'; // hidden-source-line import '@vaadin/button'; import '@vaadin/horizontal-layout'; -import '@vaadin/radio-group'; import { html, LitElement } from 'lit'; -import { customElement, state } from 'lit/decorators.js'; -import type { RadioGroupValueChangedEvent } from '@vaadin/radio-group'; +import { customElement } from 'lit/decorators.js'; import { applyTheme } from 'Frontend/generated/theme'; @customElement('basic-layouts-horizontal-layout-wrapping') diff --git a/frontend/demo/component/basiclayouts/basic-layouts-vertical-layout-wrapping.ts b/frontend/demo/component/basiclayouts/basic-layouts-vertical-layout-wrapping.ts index bcf157cec5..70d9fe1c33 100644 --- a/frontend/demo/component/basiclayouts/basic-layouts-vertical-layout-wrapping.ts +++ b/frontend/demo/component/basiclayouts/basic-layouts-vertical-layout-wrapping.ts @@ -3,7 +3,7 @@ import '@vaadin/button'; import '@vaadin/vertical-layout'; import '@vaadin/horizontal-layout'; import { html, LitElement } from 'lit'; -import { customElement, state } from 'lit/decorators.js'; +import { customElement } from 'lit/decorators.js'; import { applyTheme } from 'Frontend/generated/theme'; @customElement('basic-layouts-vertical-layout-wrapping') diff --git a/frontend/demo/component/basiclayouts/react/basic-layouts-horizontal-layout-wrapping.tsx b/frontend/demo/component/basiclayouts/react/basic-layouts-horizontal-layout-wrapping.tsx index cc5fca2b09..e6c99c2111 100644 --- a/frontend/demo/component/basiclayouts/react/basic-layouts-horizontal-layout-wrapping.tsx +++ b/frontend/demo/component/basiclayouts/react/basic-layouts-horizontal-layout-wrapping.tsx @@ -1,19 +1,8 @@ import { reactExample } from 'Frontend/demo/react-example'; // hidden-source-line -import React from 'react'; // hidden-source-line -import { useSignals } from '@preact/signals-react/runtime'; // hidden-source-line -import { useSignal } from '@vaadin/hilla-react-signals'; -import { - Button, - HorizontalLayout, - RadioButton, - RadioGroup, - type RadioGroupValueChangedEvent, -} from '@vaadin/react-components'; +import { Button, HorizontalLayout } from '@vaadin/react-components'; import layoutExampleStyle from './layoutExampleStyle'; // hidden-source-line function Example() { - useSignals(); // hidden-source-line - return ( <> diff --git a/src/main/java/com/vaadin/demo/component/basiclayouts/BasicLayoutsVerticalLayoutWrapping.java b/src/main/java/com/vaadin/demo/component/basiclayouts/BasicLayoutsVerticalLayoutWrapping.java index e4f7b80bbc..de2dda5919 100644 --- a/src/main/java/com/vaadin/demo/component/basiclayouts/BasicLayoutsVerticalLayoutWrapping.java +++ b/src/main/java/com/vaadin/demo/component/basiclayouts/BasicLayoutsVerticalLayoutWrapping.java @@ -7,7 +7,6 @@ import com.vaadin.flow.component.orderedlayout.HorizontalLayout; import com.vaadin.flow.component.orderedlayout.VerticalLayout; import com.vaadin.flow.router.Route; -import com.vaadin.flow.theme.lumo.LumoUtility.Margin.Minus.Horizontal; @Route("basic-layouts/vertical-layout-wrapping") public class BasicLayoutsVerticalLayoutWrapping extends Div {