From 75dc1476d6d592c6c2c54f8d08d3047c90c8f9dc Mon Sep 17 00:00:00 2001 From: Israel Lavi Date: Tue, 7 Aug 2018 11:36:58 +0300 Subject: Initial commit Change-Id: I061d81a33aebadb83ba0e085e8e34339fed5ed53 Issue-ID: SDC-1609 Signed-off-by: Israel Lavi --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..a07a0b7 --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +# ONAP-UI-COMMON + +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 components HTML files and SCSS files. +The project is used by ONAP-UI-ANGULAR and ONAP-UI-REACT that implements components according to the HTML in this project. + + +### Installation +```js +npm install onap-ui-common +``` + +### Usage + +You can use the scss files (for styling) and icons-map.js file (for using icons). +To use the icons just import the iconsMap +```js +import { iconsMap } from 'onap-ui-common'; +``` + +To use the SCSS files you need to reference them from your local SCSS file and compile them. +```scss +@import '../../../node_modules/onap-ui-common/styles/style.scss'; +``` + +### See also +[ONAP-UI-ANGULAR](https://github.com/onap-sdc/onap-ui-angular) + +[ONAP-UI-REACT](https://github.com/onap-sdc/onap-ui-react) + +### Having some trouble? Have an issue? +For bugs and issues, please use the [issues](https://github.com/onap-sdc/onap-ui-common/issues) page + +### How to Contribute +**Contribution can be made only by following these guide lines** +* Every change in the basic HTML files structure, must be followed by changes on the frameworks projects (ONAP-UI-ANGULAR and ONAP-UI-REACT). +* There will be no any 3rd party UI framework imported (i.e. `Bootstrap`, `Material`, `Foundation`... etc.). +* Contribution are done only by the [contribution guide](https://github.com/onap-sdc/onap-ui-common/wiki/Contribution-guide). Contributions submitted not in this format and guidelines will not be considered. -- cgit 1.2.3-korg