0.27.7 • Published 1 month ago

@nih-sparc/sparc-design-system-components v0.27.7

Weekly downloads
8
License
MIT
Repository
github
Last release
1 month ago

SPARC Design system components

Node.js Package Tests Storybook deploy

About

This design system serves a variety of audiences, and will be most useful in the Abstract format (a repository for designer files) to Developers/Engineers, and then to Designers. To make it accessible to the DRC as a whole, and to share the importance of a consistent user experience, we have added explanatory text to the majority of pages; demonstrating utility of individual components.

As development becomes shared across the Cores, we recommend each Core's engineers refer to this design system, when creating new feature/functionality which will be highlighted on Sparc.Science.

Our intention is to create an online resource with the code for these components, and to update this quarterly.

The story book is deployed here: NIH SPARC Storybook

Components

Installation

With Yarn

yarn add @nih-sparc/sparc-design-system-components

With NPM

npm install @nih-sparc/sparc-design-system-components

Quick Start

import Vue from 'vue'

import SparcComponentLibrary from 'sparc-test-design-system-components'

Vue.use(SparcComponentLibrary)

Development

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build-bundle

Tests

Unit tests

Utlizes Vue Test Utils and Jest.

Writing tests

It is recommended to have tests live alongside of your component. For one off tests, the ./tests/unit folder can be uses.

Running tests

Can be manually run with:

yarn test:unit

Automatically run every push with GitHub Actions

0.27.7

1 month ago

0.27.6

2 months ago

0.27.5

2 months ago

0.27.2

7 months ago

0.27.1

8 months ago

0.27.0

9 months ago

0.27.4

6 months ago

0.27.3

7 months ago

0.26.30

10 months ago

0.26.28

1 year ago

0.26.29

12 months ago

0.26.27

1 year ago

0.26.26

2 years ago

0.26.24

2 years ago

0.26.25

2 years ago

0.26.22

2 years ago

0.26.23

2 years ago

0.26.21

2 years ago

0.26.20

2 years ago

0.26.19

2 years ago

0.26.16

2 years ago

0.26.17

2 years ago

0.26.18

2 years ago

0.26.15

2 years ago

0.26.11

2 years ago

0.26.12

2 years ago

0.26.13

2 years ago

0.26.14

2 years ago

0.26.10

2 years ago

0.26.9

2 years ago

0.26.8

2 years ago

0.26.7

2 years ago

0.26.6

2 years ago

0.26.5

2 years ago

0.26.4

2 years ago

0.21.0

2 years ago

0.20.0

2 years ago

0.19.0

2 years ago

0.18.0

2 years ago

0.26.3

2 years ago

0.26.2

2 years ago

0.25.3

2 years ago

0.26.1

2 years ago

0.25.2

2 years ago

0.26.0

2 years ago

0.25.1

2 years ago

0.25.0

2 years ago

0.24.0

2 years ago

0.23.0

2 years ago

0.22.0

2 years ago

0.13.0

2 years ago

0.14.0

2 years ago

0.15.0

2 years ago

0.16.0

2 years ago

0.17.0

2 years ago

0.11.0

3 years ago

0.12.0

3 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.6

4 years ago

0.4.5

4 years ago

0.4.4

4 years ago