Skip to content

Commit

Permalink
perf(lit): update component to Lit2.0 #32
Browse files Browse the repository at this point in the history
Changes to be committed:
modified:   package-lock.json
modified:   package.json
modified:   scripts/staticStyles-template.js
modified:   src/auro-badge.js
  • Loading branch information
blackfalcon committed Apr 13, 2023
1 parent 181aba8 commit 2dbf150
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 48 deletions.
50 changes: 5 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "Apache-2.0",
"dependencies": {
"chalk": "^4.1.0",
"lit-element": "^2.4.0"
"lit": "^2.7.2"
},
"peerDependencies": {
"@alaskaairux/design-tokens": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/staticStyles-template.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import {css} from 'lit-element';
import { css } from 'lit';
export default css`<% content %>`;
2 changes: 1 addition & 1 deletion src/auro-badge.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// ---------------------------------------------------------------------

// If use litElement base class
import { LitElement, html } from "lit-element";
import { LitElement, html } from "lit";

// Import touch detection lib
import "focus-visible/dist/focus-visible.min.js";
Expand Down

0 comments on commit 2dbf150

Please sign in to comment.