Release Notes
BREAKING CHANGES:
<BaseComponent/>
API has been updated.- Removed the following props:
panel
,top
,left
,bottom
- Added the following props:
baseType
- choices arenone
(default),panel
,button
sx
- set of styles that are passed to the base container (this existed but is now passed consistently)buttonOptions
- set of options passed to button-style components
- New (
baseType = 'button
) provides and out-of-the-box UI option for button triggers - Additional Context values:
drawMode
andselectMode
- Fix: Data driven styles in legend for layers with 2 or more stops ( was previously 3 or more)
- Storybook: new custom addon for ThemeUI & update config for v0.12.x
- Chore: Update ReachUI and ThemeUI versions
- Fix: non-responsive popups when new map loads
- Feature: Multi-feature popups with "page" navigation
- Feature: Update support for React 17
- Chore: passing all unit test suites again
- Feature: add
preserveLayers
prop to<BasemapSwitcher />
to support keeping overlay layers when map style changes - Chore: update bundler to Rollup v2
- Feature: enable Mapbox 2 support
- Chore: Upgrade to Node 16 and Yarn 3
What's Changed
- Feature/better style props by @brambow in #49
- fix: resolve layerList checkbox and legend state for baseType = button by @tannerjt in #51
- Feature/better storybook by @brambow in #52
- fix: data driven legend styles for Array of length > 1 by @tannerjt in #53
- fix: create new popup instance if map instance changes by @tannerjt in #55
- Feature/popup many by @tannerjt in #56
- Feature/react 17 by @brambow in #54
- Feature/improved tests by @brambow in #57
- Feature/basemap switcher improvements by @brambow in #58
- Feature/rollup 2 by @brambow in #59
- Feature/legend updates by @tannerjt in #60
- Feature/node16 yarn update by @brambow in #61
- Feature/dep updates by @brambow in #62
Full Changelog: 1.3.7...2.0.0