Socket
Socket
Sign inDemoInstall

@airtasker/web-components

Package Overview
Dependencies
45
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @airtasker/web-components

web components for airtasker


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
11.1 MB
Created
Weekly downloads
 

Readme

Source

Web Components used by Airtasker

Airtasker ui components.
npm downloads

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

Keywords

FAQs

Last updated on 17 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc