Releases: MAPC/mapc-design-system
Releases · MAPC/mapc-design-system
Transpile into JavaScript
Release basic map components
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
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'