3.6.0 • Published 4 months ago

d2l-image v3.6.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

d2l-image

CI

Web component for displaying images that require authentication.

Usage

<d2l-image
	alternate-text="Alt text that will appear on image"
	image-url="https://example.com/image-to-fetch.jpg"
	token="some-oauth-token">
</d2l-image>

When both image-url and token are non-null, d2l-image will load the image.

Developing

After cloning the repo, run npm install to install dependencies.

Running the demos

Start a @web/dev-server that hosts the demo pages:

npm start

Linting

# eslint, lit-analyzer
npm run lint

# eslint only
npm run lint:eslint

# lit-analyzer only
npm run lint:lit

Testing

# lint and unit tests
npm test

# unit tests
npm run test:headless

Versioning and Releasing

This repo is configured to use semantic-release. Commits prefixed with fix: and feat: will trigger patch and minor releases when merged to main.

To learn how to create major releases and release from maintenance branches, refer to the semantic-release GitHub Action documentation.

3.6.0

4 months ago

3.5.2

6 months ago

3.5.1

9 months ago

3.5.0

1 year ago

3.4.1

2 years ago

3.4.0

2 years ago

3.3.1

2 years ago