Browse Source

Update lit imports

JC Brand 3 years ago
parent
commit
06ec539839

File diff suppressed because it is too large
+ 278 - 276
package-lock.json


+ 1 - 1
src/plugins/mam-views/templates/placeholder.js

@@ -1,6 +1,6 @@
 import tpl_spinner from 'templates/spinner.js';
 import { __ } from 'i18n';
-import { html } from 'lit-html';
+import { html } from 'lit/html.js';
 
 export default (el) => {
     return el.model.get('fetching') ? tpl_spinner({'classes': 'hor_centered'}) :

+ 1 - 1
src/plugins/mam-views/utils.js

@@ -2,7 +2,7 @@ import MAMPlaceholderMessage from '@converse/headless/plugins/mam/placeholder.js
 import log from '@converse/headless/log.js';
 import { _converse, api } from '@converse/headless/core';
 import { fetchArchivedMessages } from '@converse/headless/plugins/mam/utils';
-import { html } from 'lit-html';
+import { html } from 'lit/html.js';
 
 
 export function getPlaceholderTemplate (message, tpl) {

+ 1 - 1
src/shared/components/brand-heading.js

@@ -2,7 +2,7 @@ import './brand-byline.js';
 import './brand-logo.js';
 import { CustomElement } from './element.js';
 import { api } from '@converse/headless/core';
-import { html } from 'lit-html';
+import { html } from 'lit/html.js';
 
 
 export class ConverseBrandHeading extends CustomElement {

Some files were not shown because too many files changed in this diff