From d2151d036f9c8690978f0114890cdfabe3824862 Mon Sep 17 00:00:00 2001 From: Dale Sande Date: Fri, 21 Apr 2023 12:54:58 -0700 Subject: [PATCH] Revert "chore: cleanup of legacy code" This reverts commit 95a9a9f969dc3201ebf934d1abdef80b00371bc1. --- README.md | 5 +++++ src/auro-alaska.js | 4 ++-- src/auro-icon.js | 2 +- src/baseIcon.js | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b279fe1..35adbae 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,11 @@ Include the following example HTML code in the `` element of your page. Both [Unpkg](https://www.unpkg.com/) and [JSDelivr](https://www.jsdelivr.com/) are free open source options that you can use. These are 3rd party resources and Auro is not responsible for their uptime. **Use at your own risk.** These bundle resources are included with the npm package, you are free to use any CDN resource that fits your needs. +### IE11 Support + +**Displaimer:** While these components are supported in IE, there may be issues with loading the [web components polyfill](https://www.webcomponents.org/polyfills). Please consult their documentation when supporting IE11. + + ## auro-icon use cases The `` element should be used in situations where users may: diff --git a/src/auro-alaska.js b/src/auro-alaska.js index a407a1a..5fec871 100644 --- a/src/auro-alaska.js +++ b/src/auro-alaska.js @@ -4,8 +4,8 @@ // --------------------------------------------------------------------- -import { html, css } from "lit"; -import { classMap } from 'lit/directives/class-map.js'; +import { html, css } from "lit-element"; +import { classMap } from 'lit-html/directives/class-map'; import BaseIcon from "./baseIcon"; import as400 from '@alaskaairux/icons/dist/restricted/AS-400_es6.js'; diff --git a/src/auro-icon.js b/src/auro-icon.js index bccd3e4..464e0e7 100644 --- a/src/auro-icon.js +++ b/src/auro-icon.js @@ -6,7 +6,7 @@ // --------------------------------------------------------------------- import { html, css } from "lit"; -import { classMap } from 'lit/directives/class-map.js'; +import { classMap } from 'lit-html/directives/class-map'; import { ifDefined } from 'lit/directives/if-defined.js'; import BaseIcon from "./baseIcon"; import styleCss from "./iconStyle-css.js"; diff --git a/src/baseIcon.js b/src/baseIcon.js index c4feb23..e44da7c 100644 --- a/src/baseIcon.js +++ b/src/baseIcon.js @@ -4,7 +4,7 @@ // --------------------------------------------------------------------- -import { css } from "lit"; +import { css } from "lit-element"; import AuroElement from '@alaskaairux/webcorestylesheets/dist/auroElement/auroElement'; import error from '@alaskaairux/icons/dist/icons/alert/error_es6.js'; import cacheFetch from './cacheFetch';