import { storiesOf } from '@storybook/angular'; import '!style-loader!css-loader!sass-loader!./styles.scss'; storiesOf('Welcome', module).add('to Storybook', () => ({ template: `

ONAP-UI-ANGULAR Style-Guide and Components

This project aims to create a unified UI styled components for multiple development teams who work on the same web-based applications. This repository contains the definition of all the basic widgets and reusable controllers.

Note: the project is build of 3 different projects:

Usage

Link the library's CSS file

There are several options to link to onap-ui-angular CSS file:

SCSS

@import "path_to_node_modules/onap-ui/css/style.css";

HTML

]]>

As Module (Using loading tool, i.e. Webpack)

import "onap-ui/css/style.css";

Angular CLI projects

You can add this line to style.css file:

@import "../node_modules/onap-ui/css/style.css";

Using the library in latest Angular (6)

Add the library to your module



Running storybook

The components in this library are displayed via storybook. Head to http://onap-sdc.github.io/onap-ui-angular to see the components that are in master. While developing, just run npm run storybook in your terminal to launch a local storybook server where you can see your changes. For deploying storybook to your own fork repository, refer to the guides section below.

Useful guides

Having some trouble? Have an issue?

For bugs and issues, please use the issues page

How to Contribute

`, props: { }, moduleMetadata: { }, }));