Skip to content

dev-onenetworkecommerce/aia

Repository files navigation

aia npm version Build Status

npm install aia --save

The UI Kit that powers ONE's internal projects built on ReactJS and Sass.

Check the docs.

Usage

If you're using sass, you can simply import the scss file.

@import "path/to/aia/styles/main.scss";

Otherwise, you can get the CSS file directly.

<link href="path/to/aia/dist/aia.css" rel="stylesheet">

As for the scripts, we're tightly knit to ReactJS 0.14. Our older versions do not have any scripts.

import { Dropdown } from 'aia';

or if you'd like to get only a certain module or component,

import Dropdown from 'aia/lib/components/Dropdown';

UMD builds are not available for now.

Developing

To build the scripts:

npm install
bundle install
npm run build:script
npm run build:style

To run the docs locally:

# running
npm run docs:build:script
npm run docs:build:style
npm run docs:server

In case you'd like to watch for changes:

npm run docs:watch:script
npm run docs:watch:style

License

Big thanks to our main contributors:

Special thanks to our inspirations:

Lastly, thanks to JC Ricaro for coining the project name.

aia should never be used outside of officially endorsed ONE products or without explicit permission.