@duetds/angular
v8.4.2
Published
This package includes Angular specific wrapper for Duet Design System Web Components.
Downloads
960
Readme
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.
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.