0.0.31 • Published 7 years ago
@airtasker/web-components v0.0.31
Web Components used by Airtasker
Warning
This project still in pre-alpha version, api is not stable.
Development
npm i
For development
npm run story
For build online storybook
npm run build:story
Installation
npm i -S @airtasker/web-components
import { TextInput } from '@airtasker/web-components;
// support module import
import { TextInput } from '@airtasker/web-components/TextInput';
import { padding } from '@airtasker/web-components/styles';
styles
import {font, fontSize, fontWeight, margin, padding } from '@airtasker/web-components/styles
font(color, size, weight);
fontSize(size);
fontWeight(weight);
scaleSpace(magnitude);
margin(magnitude);
marginTop(magnitude);
marginBottom(magnitude);
marginLeft(magnitude);
marginRight(magnitude);
padding(magnitude);
paddingTop(magnitude);
paddingBottom(magnitude);
paddingLeft(magnitude);
paddingRight(magnitude);
more documentation: https://airtasker.github.io/web-components/
Deploy
npm version patch
npm run build:story
git commit -am "update story"
git push origin master
git push --tags
npm publish --access=public
Technical
Folder structure:
- ComponentName
- index.js
- ComponentName.js
- ComponentName.test.js
- ComponentName.story.js
- ComponentName.snap
Eslint rule: Airbnb
0.0.31
7 years ago
0.0.30
7 years ago
0.0.29
7 years ago
0.0.28
7 years ago
0.0.27
7 years ago
0.0.26
7 years ago
0.0.25
7 years ago
0.0.24
7 years ago
0.0.23
7 years ago
0.0.22
7 years ago
0.0.21
7 years ago
0.0.20
7 years ago
0.0.19
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago