0.9.4 • Published 28 days ago

@utd-argo-ii/ux-master-library v0.9.4

Weekly downloads
-
License
-
Repository
github
Last release
28 days ago

ARGO UX Master Component Library II

This is a continuation of the original ARGO UX Master Component Library

Newly released features:

  • react-docgen-typescript implementation for better storybook controls
  • semantic-release for automatic package deployment
  • Storybook GPT for AI generated stories
  • Theming toggle with new themes

Table of Contents

About

Purpose

This is a continuation of the ARGO UX Master Component Library project.

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.

The library is automatically built and deployed using Semantic-Release, an automated version management and package publishing tool that automates the whole package release workflow including: determining the next version number, generating the release notes, and publishing the package.

This library can be used with the Storybook GPT, created by the 2024 team members.

Current Members (2024)

Previous Members (2023)

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>.stories.tsx
  3. Import the component in src/index.tsx and add <componentName> to the export list.
0.9.4

28 days ago

0.9.3

1 month ago

0.9.2

1 month ago

0.9.0

1 month ago

0.8.1

1 month ago

0.9.1

1 month ago

0.8.0

2 months ago

0.7.0

3 months ago

0.6.0

3 months ago

0.5.1

3 months ago