diff --git a/frontend/demo/component/accordion/accordion-summary.ts b/frontend/demo/component/accordion/accordion-summary.ts index b1a30602a1..1f4e20be93 100644 --- a/frontend/demo/component/accordion/accordion-summary.ts +++ b/frontend/demo/component/accordion/accordion-summary.ts @@ -62,11 +62,16 @@ export class Example extends LitElement { Customer details - ${this.customerComplete - ? html` - - ` - : nothing} + ${ + this.customerComplete + ? html` + + ` + : nothing + } @@ -94,11 +99,16 @@ export class Example extends LitElement { Billing address - ${this.billingComplete - ? html` - - ` - : nothing} + ${ + this.billingComplete + ? html` + + ` + : nothing + } @@ -130,11 +140,16 @@ export class Example extends LitElement { Payment - ${this.paymentComplete - ? html` - - ` - : nothing} + ${ + this.paymentComplete + ? html` + + ` + : nothing + } diff --git a/frontend/demo/component/dashboard/dashboard-item-removal.ts b/frontend/demo/component/dashboard/dashboard-item-removal.ts index d0bc39c413..132806143e 100644 --- a/frontend/demo/component/dashboard/dashboard-item-removal.ts +++ b/frontend/demo/component/dashboard/dashboard-item-removal.ts @@ -8,9 +8,7 @@ import type { DashboardItem, DashboardItemBeforeRemoveEvent } from '@vaadin/dash export class Example extends LitElement { @state() - items: DashboardItem[] = [ - /* Item definitions */ - ]; + items: DashboardItem[] = [/* Item definitions */]; @state() itemToRemove: DashboardItem | null = null; diff --git a/frontend/demo/component/dashboard/react/dashboard-item-removal.tsx b/frontend/demo/component/dashboard/react/dashboard-item-removal.tsx index ee0e117f40..c8da609f23 100644 --- a/frontend/demo/component/dashboard/react/dashboard-item-removal.tsx +++ b/frontend/demo/component/dashboard/react/dashboard-item-removal.tsx @@ -5,9 +5,7 @@ import type { DashboardItem, DashboardItemBeforeRemoveEvent } from '@vaadin/reac import { Dashboard } from '@vaadin/react-components-pro'; export function Example() { - const items = useSignal([ - /* Item definitions */ - ]); + const items = useSignal([/* Item definitions */]); const itemToRemove = useSignal(null); diff --git a/frontend/demo/component/grid/grid-dynamic-height.ts b/frontend/demo/component/grid/grid-dynamic-height.ts index 0a6e51dfba..34eff947c0 100644 --- a/frontend/demo/component/grid/grid-dynamic-height.ts +++ b/frontend/demo/component/grid/grid-dynamic-height.ts @@ -67,9 +67,11 @@ export class Example extends LitElement { - ${this.invitedPeople.length === 0 - ? this.renderNoInvitationAlert() - : this.renderInvitedPeopleTable()} + ${ + this.invitedPeople.length === 0 + ? this.renderNoInvitationAlert() + : this.renderInvitedPeopleTable() + } `; } diff --git a/frontend/demo/component/login/react/login-event.tsx b/frontend/demo/component/login/react/login-event.tsx index 5593d8e1f9..9c6d624883 100644 --- a/frontend/demo/component/login/react/login-event.tsx +++ b/frontend/demo/component/login/react/login-event.tsx @@ -2,7 +2,10 @@ import { reactExample } from 'Frontend/demo/react-example'; // hidden-source-lin import React from 'react'; import { useSignals } from '@preact/signals-react/runtime'; // hidden-source-line import { useSignal } from '@vaadin/hilla-react-signals'; -import { LoginForm, type LoginFormDisabledChangedEvent } from '@vaadin/react-components/LoginForm.js'; +import { + LoginForm, + type LoginFormDisabledChangedEvent, +} from '@vaadin/react-components/LoginForm.js'; import { loginHostStyles } from './login-host-styles'; function Example() { diff --git a/frontend/demo/component/multi-select-combo-box/multi-select-combo-box-collapse-chips.ts b/frontend/demo/component/multi-select-combo-box/multi-select-combo-box-collapse-chips.ts index 8cb787a7bf..757760070b 100644 --- a/frontend/demo/component/multi-select-combo-box/multi-select-combo-box-collapse-chips.ts +++ b/frontend/demo/component/multi-select-combo-box/multi-select-combo-box-collapse-chips.ts @@ -29,7 +29,7 @@ export class Example extends LitElement { protected override async firstUpdated() { const countries = await getCountries(); - this.items = countries + this.items = countries; this.selectedCountries = countries.slice(0, 3); } diff --git a/frontend/demo/component/popover/popover-notification-panel.ts b/frontend/demo/component/popover/popover-notification-panel.ts index 09c60cfc64..caf2a62525 100644 --- a/frontend/demo/component/popover/popover-notification-panel.ts +++ b/frontend/demo/component/popover/popover-notification-panel.ts @@ -97,9 +97,11 @@ export class Example extends LitElement { All
- ${unread.length - ? html`` - : html`
No unread notifications
`} + ${ + unread.length + ? html`` + : html`
No unread notifications
` + }
diff --git a/frontend/demo/component/popover/react/popover-notification-panel.tsx b/frontend/demo/component/popover/react/popover-notification-panel.tsx index f459b271ce..f278c8e738 100644 --- a/frontend/demo/component/popover/react/popover-notification-panel.tsx +++ b/frontend/demo/component/popover/react/popover-notification-panel.tsx @@ -76,9 +76,7 @@ function Example() { padding: 'var(--vaadin-padding-l) var(--vaadin-padding-l) var(--vaadin-padding-s)', }} > -

- Notifications -

+

Notifications