2.1.3 • Published 7 months ago

@internetarchive/ia-item-navigator v2.1.3

Weekly downloads
-
License
AGPL-3.0-only
Repository
github
Last release
7 months ago

Build Status codecov

Internet Archive Item Navigator - theater menu manager

<ia-item-navigator> is a custom web component that makes an item's details theater. The Item Navigator helps instantiate all of the components one needs to create an item theater:

  • side menu
  • menu shortcuts
  • fullscreen management
  • receives/creates a shared resize observer
  • receives/shares a <modal-manager>
  • slots for custom theater & header loads

The Item Navigator's primary responsibility is to display the side menus, shortcuts, and the theater in browser window immersion "fullscreen".

The main slot is shown by default. If item has no theater, add viewAvailable = false property to show placeholder.

Usage

Generic:

const iaItem = <MetadataResponse>;
<ia-item-navigator .item=${iaItem}></ia-item-navigator>

Local Demo with web-dev-server

npm run start

To run a local development server that serves the basic demo located in demo/index.html

Testing with Web Test Runner

To run the suite of Web Test Runner tests, run

npm run test

To run the tests in watch mode (for <abbr title="test driven development">TDD</abbr>, for example), run

npm run test:watch

Linting with ESLint, Prettier, and Types

To scan the project for linting errors, run

npm run lint

You can lint with ESLint and Prettier individually as well

npm run lint:eslint
npm run lint:prettier

To automatically fix many linting errors, run

npm run format

You can format using ESLint and Prettier individually as well

npm run format:eslint
npm run format:prettier
2.1.3-alpha.1

9 months ago

2.1.3

7 months ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.1-alpha3

2 years ago

2.1.1-alpha1

2 years ago

2.1.1-alpha2

2 years ago

2.1.0

2 years ago

2.0.3-alpha2

2 years ago

2.0.3-alpha1

2 years ago

1.0.4

2 years ago

2.0.3

2 years ago

2.0.1

2 years ago

2.0.2-a2

2 years ago

2.0.2-a3

2 years ago

2.0.2-a1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

2.0.0-alpha6

2 years ago

2.0.0-alpha5

2 years ago

2.0.0-alpha4

2 years ago

2.0.0-alpha3

2 years ago

2.0.0-alpha2

2 years ago

2.0.0-alpha1

2 years ago

2.0.0-alpha7

2 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.2-a3

3 years ago

1.0.2-a2

3 years ago

1.0.2-a1

3 years ago

1.0.4-a1

3 years ago

1.0.1

3 years ago

1.0.1-a1

4 years ago

1.0.0

4 years ago

0.0.4-4

4 years ago

0.0.5-2

4 years ago

0.0.4-3

4 years ago

0.0.5-1

4 years ago

0.0.4-2

4 years ago

0.0.4-1

4 years ago

0.0.3-a1

4 years ago

0.0.3

4 years ago

0.1.1

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2-a1

4 years ago

0.0.2-a2

4 years ago

0.0.1

4 years ago

0.0.0-a9

4 years ago

0.0.2

4 years ago

0.0.0-a10

4 years ago

0.0.0-a12

4 years ago

0.0.0-a13

4 years ago

0.0.0-a14

4 years ago

0.0.0-a16

4 years ago

0.0.0-a8

4 years ago

0.0.0-a1

4 years ago

0.0.0-a3

4 years ago

0.0.0-a2

4 years ago

0.0.0-a5

4 years ago

0.0.0-a4

4 years ago

0.0.0-a7

4 years ago

0.0.0-a6

4 years ago

0.0.0

4 years ago