Skip to content

Commit

Permalink
fix breaking changes to css classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
p-j committed Jul 11, 2021
1 parent 8a49205 commit f55bfe7
Show file tree
Hide file tree
Showing 19 changed files with 385 additions and 232 deletions.
2 changes: 1 addition & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"declaration-block-semicolon-newline-after": "always-multi-line",
"block-opening-brace-space-before": "always-multi-line",
"declaration-block-single-line-max-declarations": 3,
"selector-class-pattern": "maplibregl-[a-z-]+",
"selector-class-pattern": "map(box|libre)gl-[a-z-]+",
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["svg-load"]
}]
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### 🐞 Bug fixes

- *...Add new stuff here...*
- Fix breaking changes introduced in v1.15.0 by adoption dual naming scheme for CSS class names

## 1.15.1

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ If you depend on mapbox-gl directly, simply replace `mapbox-gl` with `maplibre-g
}
```

And replace ```mapboxgl``` with ```maplibregl``` in your JavaScript/HTML/CSS code:
And replace ```mapboxgl``` with ```maplibregl``` in your JavaScript and optionannly in your HTML/CSS code:
```diff
- var map = new mapboxgl.Map({
+ var map = new maplibregl.Map({
Expand Down
Loading

0 comments on commit f55bfe7

Please sign in to comment.