Skip to content

Commit

Permalink
perf(lit): update component to Lit2.0 #68
Browse files Browse the repository at this point in the history
  • Loading branch information
irma-kurnia-phtn authored and blackfalcon committed Apr 21, 2023
1 parent 52ee20e commit 3c3f96e
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 7 deletions.
104 changes: 101 additions & 3 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 @@
},
"dependencies": {
"chalk": "^4.1.2",
"lit-element": "^2.5.1"
"lit": "^2.7.2"
},
"peerDependencies": {
"@alaskaairux/design-tokens": "^3.12.1",
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 %>`;
4 changes: 2 additions & 2 deletions src/auro-icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

// ---------------------------------------------------------------------

import { html, css } from "lit-element";
import { html, css } from "lit";
import { classMap } from 'lit-html/directives/class-map';
import { ifDefined } from 'lit-html/directives/if-defined.js';
import { ifDefined } from 'lit/directives/if-defined.js';
import BaseIcon from "./baseIcon";
import styleCss from "./iconStyle-css.js";

Expand Down

0 comments on commit 3c3f96e

Please sign in to comment.