Skip to content

Commit

Permalink
Fix lit imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Apr 15, 2024
1 parent 72c320b commit 5853814
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 9 deletions.
3 changes: 2 additions & 1 deletion server_manager/web_app/gallery_app/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import '@polymer/paper-checkbox/paper-checkbox';

import {PaperCheckboxElement} from '@polymer/paper-checkbox/paper-checkbox';
import IntlMessageFormat from 'intl-messageformat';
import {css, customElement, html, LitElement, property} from 'lit-element';
import {css, html, LitElement} from 'lit';
import {customElement, property} from 'lit/decorators.js';

import * as gcp from '../../model/gcp';
import {FakeManagedServer, FakeGcpAccount} from '../testing/models';
Expand Down
3 changes: 2 additions & 1 deletion server_manager/web_app/outline-gcp-create-server-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ import '@polymer/paper-item/paper-item';
import './ui_components/outline-step-view';
import './ui_components/outline-region-picker-step';

import {css, customElement, html, state, LitElement, property} from 'lit-element';
import {css, html, LitElement} from 'lit';
import {customElement, property, state} from 'lit/decorators.js';
import {unsafeHTML} from 'lit/directives/unsafe-html.js';

import {AppRoot} from './ui_components/app-root';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

import {html} from '@polymer/polymer/lib/utils/html-tag';
import {unsafeCSS} from 'lit-element';
import {unsafeCSS} from 'lit';

// Polymer style module to share styles between steps
// https://polymer-library.polymer-project.org/3.0/docs/devguide/style-shadow-dom#share-styles-between-elements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import '@polymer/polymer/polymer-legacy';
import '@polymer/iron-pages/iron-pages';
import './outline-step-view';

import {css, customElement, html, LitElement, property} from 'lit-element';
import {css, html, LitElement} from 'lit';
import {customElement, property} from 'lit/decorators.js';
import {COMMON_STYLES} from '../ui_components/cloud-install-styles';

@customElement('outline-gcp-oauth-step')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import '@polymer/paper-listbox/paper-listbox';
import {PaperDialogElement} from '@polymer/paper-dialog/paper-dialog';
import {PaperInputElement} from '@polymer/paper-input/paper-input';
import {PaperListboxElement} from '@polymer/paper-listbox/paper-listbox';
import {css, customElement, html, state, LitElement, property} from 'lit-element';
import {css, html, LitElement} from 'lit';
import {customElement, property, state} from 'lit/decorators.js';

import {
bytesToDisplayDataAmount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import '@polymer/paper-button/paper-button';
import '@polymer/paper-progress/paper-progress';
import './outline-step-view';

import {css, customElement, html, LitElement, property} from 'lit-element';
import {css, html, LitElement} from 'lit';
import {customElement, property} from 'lit/decorators.js';

import {COMMON_STYLES} from './cloud-install-styles';
import {CloudLocationOption} from '../../model/location';
Expand Down
3 changes: 2 additions & 1 deletion server_manager/web_app/ui_components/outline-server-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@

import './outline-server-view';

import {customElement, html, LitElement, property} from 'lit-element';
import {html, LitElement} from 'lit';
import {customElement, property} from 'lit/decorators.js';
import {repeat} from 'lit/directives/repeat.js';

import type {DisplayCloudId} from './cloud-assets';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import '@polymer/paper-progress/paper-progress';
import '@polymer/paper-button/paper-button';
import './outline-progress-spinner';
import './outline-step-view';
import {css, customElement, html, LitElement, property} from 'lit-element';
import {css, html, LitElement} from 'lit';
import {customElement, property} from 'lit/decorators.js';
import {COMMON_STYLES} from './cloud-install-styles';

@customElement('outline-server-progress-step')
Expand Down
2 changes: 1 addition & 1 deletion server_manager/web_app/ui_components/outline-sort-span.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import '@polymer/iron-icon/iron-icon';
import '@polymer/iron-icons/iron-icons';

import {css, html, LitElement, PropertyDeclarations} from 'lit-element';
import {css, html, LitElement, PropertyDeclarations} from 'lit';

export class SortSpan extends LitElement {
static get styles() {
Expand Down

0 comments on commit 5853814

Please sign in to comment.