change to lit-html

This commit is contained in:
Fran Jurmanović
2021-06-11 18:30:01 +02:00
parent f03d407590
commit 47f6207798
28 changed files with 38 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
import { attr, controller, target } from "@github/catalyst";
import { findMethod, firstUpper } from "core/utils";
import { html } from "@github/jtml";
import { html } from "lit-html";
import randomId from "core/utils/random-id";
import validator from "validator";
import { validatorErrors } from "core/constants";

View File

@@ -1,5 +1,5 @@
import { attr, controller, target } from "@github/catalyst";
import { html, TemplateResult, unsafeHTML } from "@github/jtml";
import { html, TemplateResult, unsafeHTML } from "lit-html";
import { BaseComponentElement } from "common/";
import { AppDropdownElement } from "components/app-dropdown/AppDropdownElement";
import { InputFieldElement } from "components/input-field/InputFieldElement";

View File

@@ -1,6 +1,6 @@
import { attr, controller, target } from "@github/catalyst";
import { isTrue } from "core/utils";
import { html, TemplateResult } from "@github/jtml";
import { html, TemplateResult } from "lit-html";
import { AppMainElement } from "components/app-main/AppMainElement";
import { RouterService } from "core/services";
import { BaseComponentElement } from "common/";

View File

@@ -1,5 +1,5 @@
import { controller, target } from "@github/catalyst";
import { html } from "@github/jtml";
import { html } from "lit-html";
import { BaseComponentElement } from "common/";
@controller

View File

@@ -1,5 +1,5 @@
import { controller, target } from "@github/catalyst";
import { html, TemplateResult } from "@github/jtml";
import { html, TemplateResult } from "lit-html";
import { BaseComponentElement } from "common/";
import { AppMainElement } from "components/app-main/AppMainElement";
import { MenuItemElement } from "components/menu-item/MenuItemElement";

View File

@@ -1,5 +1,5 @@
import { attr, controller, target } from "@github/catalyst";
import { html, TemplateResult } from "@github/jtml";
import { html, TemplateResult } from "lit-html";
import { BaseComponentElement } from "common/";
import { CircleLoaderElement } from "components/circle-loader/CircleLoaderElement";

View File

@@ -1,5 +1,5 @@
import { attr, controller } from "@github/catalyst";
import { html } from "@github/jtml";
import { html } from "lit-html";
import { BaseComponentElement } from "common/";
@controller

View File

@@ -1,6 +1,6 @@
import { attr, controller, target } from "@github/catalyst";
import { closest, firstUpper } from "core/utils";
import { html, TemplateResult } from "@github/jtml";
import { html, TemplateResult } from "lit-html";
import { RouterService } from "core/services";
import randomId from "core/utils/random-id";
import validator from "validator";

View File

@@ -1,5 +1,5 @@
import { attr, controller, target } from "@github/catalyst";
import { html, TemplateResult } from "@github/jtml";
import { html, TemplateResult } from "lit-html";
import { AppMainElement } from "components/app-main/AppMainElement";
import { BaseComponentElement } from "common/";

View File

@@ -1,5 +1,5 @@
import { attr, controller, target } from "@github/catalyst";
import { html, TemplateResult } from "@github/jtml";
import { html, TemplateResult } from "lit-html";
import { BaseComponentElement } from "common/";
import { CircleLoaderElement } from "components/circle-loader/CircleLoaderElement";
import { findMethod } from "core/utils";