Skip to content

Commit

Permalink
Update ia-activity-indicator (#104)
Browse files Browse the repository at this point in the history
* Update ia-activity-indicator

* Bump version

* Update CI
  • Loading branch information
jbuckner authored Jan 17, 2025
1 parent f7d7cff commit 4eef9ed
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 19 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: latest

- name: Install dependencies
run: npm install

- name: Run tests
run: npm run test

- name: Upload reports
run: npx codecov
- name: Upload Codecov reports
uses: codecov/codecov-action@main
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
23 changes: 12 additions & 11 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@internetarchive/modal-manager",
"version": "2.0.0",
"version": "2.0.1",
"description": "A Modal Manager Web Component",
"repository": {
"type": "git",
Expand Down Expand Up @@ -29,7 +29,7 @@
"publish:alpha": "npm run test && npm run prepare && npm version prerelease --preid alpha --no-git-tag-version && npm publish --tag alpha"
},
"dependencies": {
"@internetarchive/ia-activity-indicator": "^0.0.4",
"@internetarchive/ia-activity-indicator": "^0.0.6",
"@internetarchive/icon-close": "^1.3.4",
"@internetarchive/icon-ia-logo": "^1.3.4",
"@internetarchive/icon-user": "^1.3.4",
Expand Down
4 changes: 2 additions & 2 deletions src/modal-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class ModalConfig {
*
* @memberof ModalConfig
*/
processingImageMode: string;
processingImageMode: 'processing' | 'complete';

/**
* Show the close button
Expand Down Expand Up @@ -96,7 +96,7 @@ export class ModalConfig {
headerColor?: string;
bodyColor?: string;
showProcessingIndicator?: boolean;
processingImageMode?: string;
processingImageMode?: 'processing' | 'complete';
showCloseButton?: boolean;
showHeaderLogo?: boolean;
closeOnBackdropClick?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/modal-template.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { LitElement, html, css, CSSResult, TemplateResult, nothing } from 'lit';
import { property, customElement } from 'lit/decorators.js';

import '@internetarchive/ia-activity-indicator/ia-activity-indicator';
import '@internetarchive/ia-activity-indicator';
import '@internetarchive/icon-close';

import { ModalConfig } from './modal-config';
Expand Down

0 comments on commit 4eef9ed

Please sign in to comment.