0.18.5 • Published 17 days ago

mafs v0.18.5

Weekly downloads
23
License
MIT
Repository
github
Last release
17 days ago

Mafs

Mafs is a set of opinionated React components for creating math visualizations.

Visit the docs →


Development

Development is done inside of the Next.js documentation site, which directly imports Mafs components from src/. To start the development server, run:

pnpm install
pnpm start

The version of pnpm in use can be viewed by checking the packageManager field of package.json. Using corepack to install pnpm will keep this up-to-date automatically. Mafs pins pnpm to a precise version to avoid spurious pnpm-lock.yaml changes.

Then visit localhost:3000.

Tests

Mafs uses unit, end-to-end, and visual regression testing to ensure consistency between updates. It takes literal screenshots of components as rendered by the browser, and compares them to a known "correct" screenshot. Two of the browsers may require a Mac to run (Safari and iOS Safari).

All examples on the documentation site are visually tested automatically—the test file is autogenerated.

pnpm test      # run both suites
pnpm test:unit # to run just the Jest tests
pnpm test:e2e  # to run Playwright (end-to-end and visual tests)
pnpm test -- --update-snapshots # to update the visual test baselines
0.18.5

17 days ago

0.0.0-c6ba028

19 days ago

0.0.0-480a157

19 days ago

0.0.0-9112529

1 month ago

0.0.0-017ecbb

1 month ago

0.0.0-adc9122

1 month ago

0.0.0-f6af683

1 month ago

0.0.0-e32672e

2 months ago

0.0.0-d397c59

2 months ago

0.0.0-2caa922

2 months ago

0.0.0-9155b5f

2 months ago

0.0.0-87b1b34

2 months ago

0.0.0-143bbca

2 months ago

0.0.0-d2c125a

2 months ago

0.18.4

2 months ago

0.0.0-8da7ad8

2 months ago

0.18.3

2 months ago

0.18.2

2 months ago

0.18.1

3 months ago

0.18.0

4 months ago

0.17.0

11 months ago

0.17.1

11 months ago

0.12.0-rc.1

1 year ago

0.10.0-rc.1

1 year ago

0.14.0-rc.0

1 year ago

0.10.0-rc.0

1 year ago

0.16.0-rc.0

1 year ago

0.10.0-rc.3

1 year ago

0.11.4-rc.3

1 year ago

0.11.4-rc.2

1 year ago

0.11.4-rc.1

1 year ago

0.11.4-rc.0

1 year ago

0.11.0

1 year ago

0.11.1

1 year ago

0.13.0

1 year ago

0.11.2

1 year ago

0.13.1

1 year ago

0.11.3

1 year ago

0.15.0

1 year ago

0.11.4

1 year ago

0.15.1

1 year ago

0.15.2

1 year ago

0.13.0-rc.0

1 year ago

0.12.0-rc.0

1 year ago

0.15.0-rc.0

1 year ago

0.10.1

1 year ago

0.12.0

1 year ago

0.14.0

1 year ago

0.16.0

1 year ago

0.10.0

1 year ago

0.8.2-ae543ef

1 year ago

0.9.0

1 year ago

0.8.1

1 year ago

0.7.2

1 year ago

0.8.0

1 year ago

0.7.1

1 year ago

0.8.2

1 year ago

0.7.0

1 year ago

0.6.1

2 years ago

0.6.0

2 years ago

0.4.4

3 years ago

0.5.0

3 years ago

0.5.1

2 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.2-rc2

3 years ago

0.3.2-rc1

3 years ago

0.3.2-rc4

3 years ago

0.3.2-rc3

3 years ago

0.3.0

3 years ago

0.3.0-rc1

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.1.1

4 years ago

0.0.1-security

4 years ago