8.12.0 • Published 9 days ago

@appfolio/react-gears v8.12.0

Weekly downloads
27
License
MIT
Repository
github
Last release
9 days ago

react-gears

react-gears is a React implementation of Appfolio UI components, using React, Bootstrap 4, and reactstrap.

https://appfolio.github.io/react-gears


Getting Started

yarn add @appfolio/react-gears
# or for npm:
npm install @appfolio/react-gears

Example

import React from 'react';
import { Button } from '@appfolio/react-gears';

export default (props) => {
  return (
    <Button color="danger">Danger!</Button>
  );
};

Cypress Testing

You can use react-gears-cypress for testing react-gears components in your project.


Development

Install dependencies:

yarn install

Run storybook examples:

yarn start

Then open http://localhost:6006 in a browser.

Run tests:

yarn test

This runs unit tests using Mocha and enzyme.

Run Linter

yarn lint

This runs ESLint using appfolio-react as the base configuration.


Contributing

Commit messages

Commit messages should follow the Conventional Commits format:

<type>(<scope>): <message>

Here's an example commit message:

feat(SomeComponent): add new thing that does something
  • <scope> is optional.
  • ! indicates a breaking change. Example: feat!: some breaking change.

Here are a few common <type>s:

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation changes
  • refactor: Code changes that neither fix a bug nor add a feature
  • test: Adding missing tests or correcting existing tests
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files

For more information about Conventional Commits, see the official documentation.

Merging changes

Open a pull request, get it approved by the relevant code owners, and merge your pull request.

IMPORTANT: Make sure your pull request is rebased when merged. The merge button has dropdown options. Choose "Rebase and merge".

Creating a prerelease

  • Open a pull request with your changes against the default branch.
  • After a few minutes, GitHub bot will leave a comment on the pull request notifying the prerelease was created.
  • Use this prerelease version (e.g. 8.0.1-some-branch-a48dadc.0) to test your changes in apps/libraries that depend on this library.

Creating an official release

After merging your pull request to the default branch, release-please will automatically create or update a special "release pull request".

  • Find this "release pull request" under the "Pull requests" tab for this repo. The title will be something like, chore(master): release 8.0.2.
  • Approve and merge this "release pull request" to create an official release (e.g. 8.0.2).
8.12.0

9 days ago

8.11.2

1 month ago

8.11.1

1 month ago

8.11.0

2 months ago

8.10.3

3 months ago

8.10.2

4 months ago

8.10.1

4 months ago

8.10.0

5 months ago

8.9.0

6 months ago

8.8.3

6 months ago

8.8.2

6 months ago

8.6.2

7 months ago

8.6.1

8 months ago

8.6.0

8 months ago

8.7.0

7 months ago

8.8.1

6 months ago

8.8.0

7 months ago

8.5.1

9 months ago

8.4.1

11 months ago

8.4.0

11 months ago

8.4.2

11 months ago

8.3.0

11 months ago

8.5.0

11 months ago

8.1.0

12 months ago

8.2.0

11 months ago

8.0.3

1 year ago

8.0.2

1 year ago

8.0.1

1 year ago

8.0.0

1 year ago

7.13.1

1 year ago

7.13.2

1 year ago

7.13.0

1 year ago

7.12.0

1 year ago

7.12.1

1 year ago

7.11.0

1 year ago

7.9.1

1 year ago

7.9.0

2 years ago

7.8.17

2 years ago

7.8.18

2 years ago

7.10.0

1 year ago

7.8.16

2 years ago

7.8.15

2 years ago

7.8.14

2 years ago

7.8.9

2 years ago

7.8.13

2 years ago

7.8.12

2 years ago

7.8.11

2 years ago

7.8.10

2 years ago

7.3.0

2 years ago

7.4.0

2 years ago

7.5.0

2 years ago

7.6.1

2 years ago

7.6.0

2 years ago

7.2.0

2 years ago

7.7.0

2 years ago

7.1.1

2 years ago

7.1.0

2 years ago

7.0.0

2 years ago

7.0.4

2 years ago

7.0.3

2 years ago

7.0.2

2 years ago

7.0.1

2 years ago

6.15.1

2 years ago

6.15.0

2 years ago

6.14.1

2 years ago

6.11.1

2 years ago

6.11.0

2 years ago

6.13.0

2 years ago

6.11.2

2 years ago

6.12.0

2 years ago

6.12.3

2 years ago

6.14.0

2 years ago

6.12.2

2 years ago

6.12.1

2 years ago

6.10.0

2 years ago

7.0.0-3

2 years ago

7.0.0-4

2 years ago

6.9.4

2 years ago

6.9.3

2 years ago

7.0.0-2

3 years ago

6.8.1

3 years ago

6.8.0

3 years ago

7.0.0-0

3 years ago

7.0.0-1

3 years ago

6.7.7-popper2.0

3 years ago

6.9.0

3 years ago

6.7.8

3 years ago

6.7.7

3 years ago

6.7.5-1

3 years ago

6.7.6

3 years ago

6.7.1-boba.0

3 years ago

6.7.5

3 years ago

6.7.5-0

3 years ago

6.7.4

3 years ago

6.7.2

3 years ago

6.7.3

3 years ago

6.5.2-0

3 years ago

6.6.0

3 years ago

6.5.1

3 years ago

6.5.0

3 years ago

6.3.2-boba.0

3 years ago

6.3.0

3 years ago

6.3.2

3 years ago

6.3.1

3 years ago

6.2.1-combobox.0

3 years ago

6.2.1-0

3 years ago

6.2.1-dude.0

3 years ago

6.3.2-0

3 years ago

6.1.2-0

3 years ago

6.1.2-1

3 years ago

6.1.2-2

3 years ago

6.1.2-3

3 years ago

6.2.0

3 years ago

6.1.1

3 years ago

6.1.1-1

3 years ago

6.1.1-0

3 years ago

6.1.0

3 years ago

6.0.0

3 years ago

5.19.2

3 years ago

5.19.1

3 years ago

5.19.0

3 years ago

5.18.1

3 years ago

5.18.0

3 years ago

5.17.0

3 years ago

5.16.0

3 years ago

5.15.0

3 years ago

5.12.3-2

3 years ago

5.12.3-1

3 years ago

5.14.2

3 years ago

5.14.1

3 years ago

5.14.0

3 years ago

5.13.0

3 years ago

5.12.5-beta.0

3 years ago

4.16.2

5 years ago

4.9.0

5 years ago

4.7.3

5 years ago

4.7.2

5 years ago

4.3.2

5 years ago

4.16.1

5 years ago

4.16.0

5 years ago

4.15.0

5 years ago

4.14.2

5 years ago

4.14.1

5 years ago

4.14.0

5 years ago

4.13.1

5 years ago

4.13.0

5 years ago

4.12.1

5 years ago

4.11.1

5 years ago

4.11.0

5 years ago

4.10.3

5 years ago

4.10.1

5 years ago

4.10.0

5 years ago

4.0.0-rc.7

5 years ago

4.0.0-rc.6

5 years ago

4.0.0-rc.3

5 years ago

4.0.0-beta

5 years ago

4.0.0

5 years ago