1.6.2 • Published 1 year ago

@nulib/design-system v1.6.2

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

Design System for Northwestern University Libraries

https://nulib.github.io/design-system/

A global design system for NUL ReactJS UI components, intended for all front end applications, NPM modules, and user interfaces.

Built using:

Usage

Install the package

npm install @nulib/design-system

Import individual components

import { Button, Section, Tag } from "@nulib/design-system"

...

<Button
  isPrimary
  onClick={() => console.log("Ive been clicked")}
>
  Click Me
</Button>

Development

// Clone the repo
git clone git@github.com:nulib/design-system.git

// Install dependencies
npm install

// Run the local dev environment
npm run dev

Open http://localhost:3000 with your browser to see the result.

Packaging

Build for NPM

npm run build

Build static reference site for Github Docs

npm run build:static

Per NextJS convention, this will output to the /out directory. To view a local static build via a quick local server, run:

npm run build:static
npx serve out

CI

A static version of the site is automated and pushed to the gh-pages branch via Github Actions commits to the main branch. View the static site at: https://nulib.github.io/design-system/

1.6.2

1 year ago

1.6.1

1 year ago

1.6.0

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago