Skip to content

Releases: MAPC/mapc-design-system

Transpile into JavaScript

12 Mar 20:35
Compare
Choose a tag to compare

JavaScript repos not set up for TypeScript can now import these components.

Release basic map components

12 Mar 15:55
Compare
Choose a tag to compare

This release adds React wrappers for some of the most common Mapbox GL JS components MAPC Digital Services uses in maps, including:

  • Map
  • Layer and Source
  • Tooltip (Mapbox's "Popup")
  • Legends

It also includes the first MAPC-specific layer component, which directly links to a Mapbox vector layer on the 101 municipalities in the Greater Boston region. Add in array data, a color scheme, and a color/value matching function for instant choropleths!

npm issues resolved

01 Mar 18:31
Compare
Choose a tag to compare

The design system is still minimal (three components), but the npm configuration issues that resulted in some unexpected import behavior have been resolved. For example, in release 0.1.7 and prior, you imported the Footer component (in React) as

import { Footer } from 'mapc-design-system/src'

Now, you import it as

import { Footer } from 'mapc-design-system'