Skip to content

Commit

Permalink
Merge pull request #157 from BrightspaceUILabs/gplumb/lit-2
Browse files Browse the repository at this point in the history
BREAKING CHANGE: US139071: Lit 2 migration
  • Loading branch information
gordon-plumb authored May 26, 2022
2 parents f8e22bf + 16126b7 commit cd8dac2
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion carded-table-card.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '@brightspace-ui/core/components/colors/colors.js';
import { css, html, LitElement } from 'lit-element/lit-element.js';
import { css, html, LitElement } from 'lit';

class CardedTableCard extends LitElement {

Expand Down
2 changes: 1 addition & 1 deletion carded-table-cards.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { html, LitElement } from 'lit-element/lit-element.js';
import { html, LitElement } from 'lit';

class CardedTableCards extends LitElement {

Expand Down
2 changes: 1 addition & 1 deletion carded-table-header.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '@brightspace-ui/core/components/colors/colors.js';
import { css, html, LitElement } from 'lit-element/lit-element.js';
import { css, html, LitElement } from 'lit';

class CardedTableHeader extends LitElement {

Expand Down
2 changes: 1 addition & 1 deletion carded-table-heading.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { css, html, LitElement } from 'lit-element/lit-element.js';
import { css, html, LitElement } from 'lit';

class CardedTableHeading extends LitElement {
static get styles() {
Expand Down
2 changes: 1 addition & 1 deletion carded-table.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { css, html, LitElement } from 'lit-element/lit-element.js';
import { css, html, LitElement } from 'lit';

class CardedTable extends LitElement {

Expand Down
2 changes: 1 addition & 1 deletion demo/carded-table-course-demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import '../carded-table-header.js';
import '../carded-table-heading.js';
import '../carded-table.js';

import { css, html, LitElement } from 'lit-element/lit-element.js';
import { css, html, LitElement } from 'lit';
import { CardedTableDemoMixin } from './carded-table-demo-mixin.js';
import { cardedTableDemoStyles } from './carded-table-demo-styles.js';
import { courseData } from './demo-data.js';
Expand Down
2 changes: 1 addition & 1 deletion demo/carded-table-demo-styles.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '@brightspace-ui/core/components/colors/colors.js';

import { css } from 'lit-element/lit-element.js';
import { css } from 'lit';

export const cardedTableDemoStyles = css`
.table-header,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"wct-mocha": "^1"
},
"dependencies": {
"@brightspace-ui/core": "^1",
"lit-element": "^2"
"@brightspace-ui/core": "^2",
"lit": "^2"
}
}

0 comments on commit cd8dac2

Please sign in to comment.