Skip to content

Commit

Permalink
perf: update auro deps and add ESM badge
Browse files Browse the repository at this point in the history
Changes to be committed:
modified:   README.md
modified:   package-lock.json
modified:   package.json
modified:   scripts/generateDocs.mjs
modified:   src/auro-toast.js
  • Loading branch information
blackfalcon committed Feb 13, 2024
1 parent f042207 commit 3a408b1
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 22 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ For the most up to date information on [UI development browser support](https://

## Install

<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentInstall.md) -->
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentInstall_esm.md) -->
[![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/auro-toast/testPublish.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/auro-toast/actions/workflows/testPublish.yml)
[![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-toast?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-toast)
[![License](https://img.shields.io/npm/l/@aurodesignsystem/auro-toast?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)

![ESM supported](https://img.shields.io/badge/ESM-compatible-FFE900?style=for-the-badge)

```shell
$ npm i @aurodesignsystem/auro-toast
```
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"@aurodesignsystem/webcorestylesheets": "^5.0.4"
},
"devDependencies": {
"@alaskaairux/icons": "^4.32.0",
"@aurodesignsystem/auro-library": "^2.4.7",
"@alaskaairux/icons": "^4.36.2",
"@aurodesignsystem/auro-library": "^2.5.1",
"@aurodesignsystem/design-tokens": "^4.3.0",
"@aurodesignsystem/eslint-config": "^1.3.0",
"@aurodesignsystem/webcorestylesheets": "^5.0.4",
"@aurodesignsystem/webcorestylesheets": "^5.0.8",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@open-wc/testing": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/generateDocs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import https from 'https';

const __dirname = new URL('.', import.meta.url).pathname;

const readmeTemplateUrl = 'https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/README.md';
const readmeTemplateUrl = 'https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/README_esm.md';
const dirDocTemplates = './docTemplates';
const readmeFilePath = dirDocTemplates + '/README.md';

Expand Down
8 changes: 4 additions & 4 deletions src/auro-toast.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import { LitElement, html } from "lit";

// Import touch detection lib
import styleCss from "./style-css.js";
import closeIcon from '@alaskaairux/icons/dist/icons/interface/x-lg_es6.js';
import information from '@alaskaairux/icons/dist/icons/alert/information-stroke_es6.js';
import error from '@alaskaairux/icons/dist/icons/alert/error_es6.js';
import success from '@alaskaairux/icons/dist/icons/interface/check-stroke_es6.js';
import closeIcon from '@alaskaairux/icons/dist/icons/interface/x-lg.mjs';
import information from '@alaskaairux/icons/dist/icons/alert/information-stroke.mjs';
import error from '@alaskaairux/icons/dist/icons/alert/error.mjs';
import success from '@alaskaairux/icons/dist/icons/interface/check-stroke.mjs';

const TIME_TIL_FADE_OUT = 5000;
const FADE_OUT_DURATION = 300;
Expand Down

0 comments on commit 3a408b1

Please sign in to comment.