0.4.3 • Published 1 year ago

@utd-argo/ux-master-library v0.4.3

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

ARGO UX Master Component Library

Table of Contents

About

Purpose

The ARGO UX Master Component Library is a collection of React components that are used to build the ARGO UX. The library is a proof of concept built to solve ARGO's issues of scalability, design standardization, and reusability. The goal is to have a centrally managed design system which permits updates to be made across all projects from a single codebase.

Information

The library is built using Storybook, a tool for developing UI components in isolation.

The library is deployed using Chromatic, a visual regression testing and review tool for Storybook.

The library is distributed using NPM, a package manager for JavaScript.

Members

Sample Projects

Latest Build

Deployments are automatically generated by GitHub Actions when a pull request is merged into main. The latest deployment can be found at the following links:

Packages are automatically generated by GitHub Actions when a new release is published. The latest package can be found at the following link:

Getting Started

Package Installation/Usage

  1. Install the package
    npm install @utd-argo/ux-master-library@latest
  2. Import a component
    import { Component } from '@utd-argo/ux-master-library';
  3. Use the component
    <Component ...>
       ...
    </Component>

Develop Locally

  1. Clone the repository from main
    git clone https://github.com/UTD-ARGO/argo-storybook.git
  2. Navigate into the project directory
    cd argo-storybook
  3. Install dependencies
    npm install
  4. Start the local development server
    npm run storybook
  5. Navigate to http://localhost:6006 in your browser

Contributing

Overview

  1. Create a new feature branch from main
  2. Make commits on this branch
  3. Push to this branch as you develop
  4. Once you are ready to merge, create a pull request
  5. Have at least 1 team member review your changes
  6. Merge changes into main

Creating a Pull Request

  1. Rebase your branch
    git rebase main
  2. Push your branch
    git push --force
  3. Create a pull request on GitHub
    1. Navigate to the repository on GitHub
    2. Go to the Pull Requests tab
    3. Click the New pull request button
    4. Select your feature branch as the compare branch
    5. Select main as the base branch
    6. Add a title and description
    7. Click the Create pull request button

Creating a Component

  1. Create a new directory in src/components called <componentName>
  2. Create 3 files within the new directory: <componentName>.tsx, <componentName>.css, <componentName>.stories.tsx
  3. Import the component in src/index.tsx and add <componentName> to the export list.

Styling a Component

  1. Each component should have its own CSS file associated with it
  2. Styles must follow a specific set of guidelines to be accepted
    1. See: CSS Guidelines
0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.8

1 year ago

0.3.7

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.2

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago