2.0.0-alpha.18 • Published 1 year ago

@prenda/spark v2.0.0-alpha.18

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

@prenda/spark

Prenda Spark


Documentation

Official Docs: https://prenda-school.github.io/prenda-documentation/

Prenda Spark extends Material UI react components (https://v4.mui.com/) by overriding select styles to match the Prenda Design System philosophy.

Development

Set Up

  1. Clone the repository.
  2. Ensure you have Node Version Manager installed on your system (see instructions).
  3. Run nvm use to ensure specified node version is used.
  4. Run npm ci to install dependencies.
  5. Ensure you have Nx installed on your system (npm i -g nx) (see more), or if this is not possible, you can use npx nx instead of nx in the commands in this document.

Usage

Run nx run spark:storybook to run the spark project in develop mode (open http://localhost:4400/ in your default browser to view.)

Now you can develop components within the libs/spark/src/ directory and see changes update in realtime.

Depending on your preferred IDE, consider downloading a community IDE plugin for Nx workspaces.

The Spark theme refers to font files for Nunito, which should be served at the /fonts path. These fonts are available in this library in libs/spark/public/fonts.

Testing

Run tests with nx run spark:test. Spark uses Jest tests with React Testing Library.

WIP and TODOS

Install

npm install --save @prenda/spark

Usage

import React from 'react';

import { Button } from '@prenda/spark';

const App = () => {
  return (
    <>
      <Button size="large">I am a button</Button>
    </>
  );
};

export default App;
2.0.0-alpha.11

1 year ago

2.0.0-alpha.10

1 year ago

2.0.0-alpha.18

1 year ago

2.0.0-alpha.17

1 year ago

2.0.0-alpha.16

1 year ago

2.0.0-alpha.15

1 year ago

2.0.0-alpha.14

1 year ago

2.0.0-alpha.13

1 year ago

2.0.0-alpha.12

1 year ago

2.0.0-alpha.7

1 year ago

2.0.0-alpha.8

1 year ago

2.0.0-alpha.9

1 year ago

2.0.0-alpha.3

2 years ago

2.0.0-alpha.4

2 years ago

2.0.0-alpha.5

2 years ago

2.0.0-alpha.6

2 years ago

1.0.0

2 years ago

2.0.0-alpha.1

2 years ago

2.0.0-alpha.2

2 years ago

1.0.0-alpha.9

2 years ago

1.0.0-alpha.10

2 years ago

1.0.0-alpha.12

2 years ago

1.0.0-alpha.11

2 years ago

1.0.0-alpha.14

2 years ago

1.0.0-alpha.13

2 years ago

1.0.0-alpha.8

2 years ago

1.0.0-alpha.7

2 years ago

1.0.0-alpha.6

2 years ago

1.0.0-alpha.5

2 years ago

1.0.0-alpha.4

2 years ago

1.0.0-alpha.3

2 years ago

1.0.0-alpha.2

2 years ago

1.0.0-alpha.1

2 years ago

0.16.0

3 years ago

0.15.0

3 years ago

0.14.0

3 years ago

0.13.0

3 years ago

0.13.1

3 years ago

0.12.0

3 years ago

0.11.1

3 years ago

0.11.0

3 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.7.3

3 years ago

0.7.2

3 years ago

0.7.1

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago