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 12, 2021
1 parent 8a49205 commit b3bda1d
Show file tree
Hide file tree
Showing 19 changed files with 385 additions and 230 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 b3bda1d

Please sign in to comment.