0.2.2-rc8 • Published 4 years ago

atti-components v0.2.2-rc8

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Atti Component

pipelines

Reusable and cross platform React components, for web and Native application.

This library aims to provide a common set of basic UI components that can be used seamlessly by both web and native application. Each component aims to provide the same options and functionality on both environments so your UI code can be written once and deployed everywhere.

See the live demo/documentation.

Basic usage for any project

To use this library, simply add it as a dependency to your yarn or npm project by running the command:

yarn add atti-components

This will install the latest atti-component version right away in your project

Then, add the right import depending if you want to use Native or Web components:

// Import Web components
import * from 'atti-components'

// Import Native components
import * from 'atti-components/native'

The goal of this library is to abstract native and web differencies and expose a common interface. However some inconsistencies may still exist and you will have to thoroughly test your application on all devices you intend to distribute it on.

For a more detailed view of individual components and how to use them, please see the live demo/documentation.

Contributing

Installation

git clone https://github.com/attineos/atti-components.git
cd atti-components
yarn install

Yarn commands

Please note that for contributing, we only support YARN for consistency.

Run yarn start to start the styleguidist server, and let you see/test the components right in your browser.

Run yarn build:watch to set a watcher on your file and automatically build them on save.

Run yarn prettier to run prettier on all your files. It will automatically fix them if necessary.

Run yarn snapshots to create automatically all snapshot tests of the components.

Run yarn test to run the tests.

Run yarn test -u to run and update the snapshot tests if the update is validated and expected.

Run yarn preparecommit to check if you can commit your code. The command runs yarn snapshots, yarn prettier, yarn lint and yarn test (you can add -u to run and update snapshots).

Run yarn build to transpile and compress your components into 2 bundles (one for the web and one for native).

Contributing rules and help

Before contributing to atti-components, please check the contributing file. It contains lot of help on how to write your contribution the right way.

Useful links

0.2.2-rc13

4 years ago

0.2.2-rc12

4 years ago

0.2.2-rc11

4 years ago

0.2.2-rc10

4 years ago

0.2.2-rc9

4 years ago

0.2.2-rc8

4 years ago

0.2.2-rc7

4 years ago

0.2.2-rc6

4 years ago

0.2.2-rc5

4 years ago

0.2.2-rc4

4 years ago

0.2.2-rc3

5 years ago

0.2.2-rc2

5 years ago

0.2.2-rc1

5 years ago

0.2.1

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0-rc28

5 years ago

0.1.0-rc27

5 years ago

0.1.0-rc26

5 years ago

0.1.0-rc25

5 years ago

0.1.0-rc24

5 years ago

0.1.0-rc23

5 years ago

0.1.0-rc22

5 years ago

0.1.0-rc21

5 years ago

0.1.0-rc20

5 years ago

0.1.0-rc19

5 years ago

0.1.0-rc17

5 years ago

0.1.0-rc16

5 years ago

0.1.0-rc15

5 years ago

0.1.0-rc14

5 years ago

0.1.0-rc13

5 years ago

0.1.0-rc12

5 years ago

0.1.0-rc11

5 years ago

0.1.0-rc10

5 years ago

0.1.0-rc9

5 years ago

0.1.0-rc8

5 years ago

0.1.0-rc7

5 years ago

0.1.0-rc6

5 years ago

0.1.0-rc5

5 years ago

0.1.0-rc4

5 years ago

0.1.0-rc3

5 years ago

0.1.0-rc2

5 years ago

0.1.0-rc1

5 years ago

0.1.0

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.0

6 years ago