[![Build Status](https://lt-devtool.visualstudio.com/Duet%20Design%20System/_apis/build/status/Duet%20Design%20System?branchName=master)](https://lt-devtool.visualstudio.com/Duet%20Design%20System/_build/latest?definitionId=58&branchName=master)
[![Version](https://img.shields.io/npm/v/@duetds/angular.svg?style=flat-square&label=angular)](https://www.npmjs.com/package/@duetds/angular)

# Angular wrapper for @duetds/components

This package includes Angular specific wrapper for Duet Components.

This package only supports usage up to Angular version 13. From version 14 its preferred to use Duet components directly.

## Usage

For usage instructions, please see Duet Design System [documentation](https://www.duetds.com/using-components/#usage-with-angular).

## Architecture

This package is based on the example Angular output found here: https://github.com/ionic-team/stencil-ds-output-targets/tree/master/packages/example-project/component-library-angular

All files under `src/` are auto-generated as part of the `components` package's build. The stencil output target `angular-output-target` generates all code under `src/directives`, whilst `angular-extras` generates the files `src/component-library-module.ts` and `src/index.ts`.

On build, the `src/` directory is compiled by Typescript, and bundled by rollup. Two bundles are output, one for ES2015 and one for ES5.

## Copyright

Copyright © 2020 LocalTapiola/Turva.
