0.16.0 • Published 3 years ago

@hundred5/candidate-components v0.16.0

Weekly downloads
22
License
UNLICENSED
Repository
-
Last release
3 years ago

Candidate app components

This repository contains the components from the candidate app that are used in the admin app as well.

The components are using React and Emotion for styling.

Installation

yarn add @hundred5/candidate-components

This package has peer dependencies, so make sure that react, react-dom are installed as well.

Usage

import { CompanyLogo } from "@hundred5/candidate-components";

const MyComponent = () => <CompanyLogo name="Company" />;

For examples of each component check the story files stored next to component files.

Development

This project uses Storybook. You can start it with yarn start.

Publishing to npm

This project uses semantic versioning:

  • If a bug is fixed without changing any component props, bump the patch version.
  • If you add props to a component or add new components, bump the minor version.
  • If you remove or change props in a component or remove components, bump the major version.

Source files are automatically compiled to JavaScript before publishing to npm, so simply running npm publish --access public should work.

The build script does two things:

  1. Compiles TypeScript files with Babel to JavaScript. It is easier to use Babel instead of TypeScript compiler as the Emotion Babel plugin must be used to process CSS-in-JS.
  2. Generates TypeScript definition files with the TypeScript compiler, so that the package can be used in TypeScript apps without losing type information.
0.14.0

3 years ago

0.15.0

3 years ago

0.16.0

3 years ago

0.15.1

3 years ago

0.13.1

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.2

5 years ago

0.5.0

5 years ago

0.5.1

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.3.0

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago