@things-factory/component-ui 4.1.28 → 5.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { css, html, LitElement } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit'
2
2
  import './calendar-grid-overlay'
3
3
 
4
4
  class CalendarGridBody extends LitElement {
@@ -66,11 +66,7 @@ class CalendarGridBody extends LitElement {
66
66
  render() {
67
67
  return html`
68
68
  <div class="grid-container" id="calendar">
69
- ${(this.days || []).map(
70
- day => html`
71
- <div class="label-day">${day}</div>
72
- `
73
- )}
69
+ ${(this.days || []).map(day => html` <div class="label-day">${day}</div> `)}
74
70
  ${(this.dateList || []).map(
75
71
  dateRow => html`
76
72
  ${dateRow.map(
@@ -1,5 +1,5 @@
1
1
  import '@material/mwc-button'
2
- import { css, html, LitElement } from 'lit-element'
2
+ import { css, html, LitElement } from 'lit'
3
3
 
4
4
  class CalendarGridOverlay extends LitElement {
5
5
  static get styles() {
@@ -1,4 +1,4 @@
1
- import { html, css, LitElement } from 'lit-element'
1
+ import { html, css, LitElement } from 'lit'
2
2
  import './calendar-grid-body'
3
3
 
4
4
  class CalendarGrid extends LitElement {
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
 
3
3
  class CalendarListBody extends LitElement {
4
4
  static get styles() {
@@ -1,4 +1,4 @@
1
- import { html, css, LitElement } from 'lit-element'
1
+ import { html, css, LitElement } from 'lit'
2
2
  import './calendar-list-body'
3
3
 
4
4
  class CalendarList extends LitElement {
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
 
3
3
  class InfiniteScroll extends LitElement {
4
4
  static get styles() {
@@ -23,9 +23,7 @@ class InfiniteScroll extends LitElement {
23
23
  }
24
24
 
25
25
  render() {
26
- return html`
27
- <slot></slot>
28
- `
26
+ return html` <slot></slot> `
29
27
  }
30
28
 
31
29
  firstUpdated() {
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import '@material/mwc-button/mwc-button'
3
3
 
4
4
  class PopUp extends LitElement {
@@ -1,5 +1,5 @@
1
1
  import { ScrollbarStyles } from '@things-factory/styles'
2
- import { css, html, LitElement } from 'lit-element'
2
+ import { css, html, LitElement } from 'lit'
3
3
  import '@things-factory/i18n-base'
4
4
  import './quick-find-tabs'
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { ScrollbarStyles } from '@things-factory/styles'
2
- import { css, html, LitElement } from 'lit-element'
2
+ import { css, html, LitElement } from 'lit'
3
3
  import '@things-factory/i18n-base'
4
4
  import './quick-find-tabs'
5
5
  import './quick-find-scroll'
@@ -1,4 +1,4 @@
1
- import { html, css, LitElement } from 'lit-element'
1
+ import { html, css, LitElement } from 'lit'
2
2
 
3
3
  import '@material/mwc-icon'
4
4
 
@@ -1,4 +1,4 @@
1
- import { css, html, LitElement } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit'
2
2
  import { i18next, localize } from '@things-factory/i18n-base'
3
3
 
4
4
  class QuickFindTabs extends localize(i18next)(LitElement) {
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
 
3
3
  export class CardTypeCreator extends LitElement {
4
4
  static get styles() {
@@ -90,9 +90,7 @@ export class CardTypeCreator extends LitElement {
90
90
  return html`
91
91
  <div @click=${e => this.onClickFlip(e)} front><mwc-icon>add_circle_outline</mwc-icon>create font</div>
92
92
 
93
- <div @click=${e => this.onClickFlip(e)} back>
94
- ${this.renderForm()}
95
- </div>
93
+ <div @click=${e => this.onClickFlip(e)} back>${this.renderForm()}</div>
96
94
  `
97
95
  }
98
96
 
@@ -1,7 +1,7 @@
1
1
  import '@things-factory/setting-base'
2
2
  import './attachment-creation-card'
3
3
 
4
- import { css, html, LitElement } from 'lit-element'
4
+ import { css, html, LitElement } from 'lit'
5
5
 
6
6
  import InfiniteScrollable from '@operato/utils/mixins/infinite-scrollable.js'
7
7
  import { i18next, localize } from '@things-factory/i18n-base'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/component-ui",
3
- "version": "4.1.28",
3
+ "version": "5.0.0-alpha.1",
4
4
  "browser": "client/index.js",
5
5
  "license": "MIT",
6
6
  "author": "",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "scripts": {},
18
18
  "dependencies": {
19
- "@things-factory/styles": "^4.1.28"
19
+ "@things-factory/styles": "^5.0.0-alpha.1"
20
20
  },
21
- "gitHead": "3f902602b38074b6e4a2188ab16b2a486f812877"
21
+ "gitHead": "2b3e3818a5d7ab7fdfff9214cc65f56885b27ad0"
22
22
  }