- UI: update default style of action menu buttons
- Feature: emit layer list info (name, layer ids, and whether on/off) to Elements Context so it can be read in apps
- Fix: togeojson imports
- Fix: add buffer pkg for webpack 5 polyfill issues
- Fix: remove some errors and console messages that were ending up in applications
- Feature: expose current basemap/mapStyle name in Elements context
- Fix: function and performance of layer preservation on
- Fix: make sure
selectMode
context value is being set.
- Fix: Two fixes for the AddData component due to reported security vulnerabilities in dependencies:
- Update
@mapbox/togeojson
to maintained@tmcw/togeojson
- Update
shpjs
dependency from v3 to v4
- Update
- Fix: new context values were never merged for 2.0.0 release.
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
- Fix: support data driven layers with 2 or more categories.
- Add title to Home button
- Add default width to Home button
- Show layer opacity in legend symbols
- Add indicator of current zoom level as option in Zoom control
- "slider" option for Zoom
- bugfix: enforce explicit text color in select dropdown for Windows
- add debounce to geocoding
- fix: add zIndex to searchSuggestions
- feat: make suggestionsZIndex a prop on Search
- Fixing Home component behavior
- Layer List: Add style options to checkboxes (choose: checkbox, switch, eye)
- Select Tool: add onReset() callback + minor bug fixes. Address issue expecting a single geometry.
- Home Tool: reset map tilt when clicked
- Home: add intercept function for custom actions
- Storybook: add story source code to Storybook site
- Draw Tool: Add text context menu for changing label text, size, font, and color.
- Update Mapbox Draw dependency
- Bookmarks: ability to delete and custom actions
- Update several dependencies
- update to ThemeUI v 0.3.1
- add radio group option to LayerList
- add graduated circle symbols to Legend
- bugfix: allow multiple popup layers
- new component: Home button
- useElements hook
- legend support for data driven styles on lines
- minor style improvements to LayerList
- add useElements hook
- add ability to show/hide legend symbol in Layer List
- fix: text draw mode
- fix: search tool errors
- add ESLint rules
- hotfix for overflow scroll 'auto'
- add
intercept
method to MapPopup for adding external data source capabilities - make title in Popup conditional
- replace
rebass
components withthemeui
- update themeui to 0.3.0
- remove unused dependencies
- add action menus for LayerList and Popup components
- add callback with selected features to Select
- allow users to pass custom selection styles to Select
- fix: add ability to disable popup
- add loading indicator for popup data
- support circle types in Legend
- minor fixes for dependencies and rollup configs
- intial commits of open source project