Skip to content

Commit

Permalink
fix breaking changes to css classnames (#203)
Browse files Browse the repository at this point in the history
Addresses concerns voiced in #83, #185
Resolves #199

* fix breaking changes to css classnames

* bump version to 1.15.2
  • Loading branch information
p-j authored Jul 12, 2021
1 parent d709b36 commit efad8e0
Show file tree
Hide file tree
Showing 20 changed files with 390 additions and 231 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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

- *...Add new stuff here...*

## 1.15.2

### 🐞 Bug fixes
- Fix breaking changes introduced in v1.15.0 by adoption dual naming scheme for CSS class names

## 1.15.1

### 🐞 Bug fixes
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "maplibre-gl",
"description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
"version": "1.15.1",
"version": "1.15.2",
"main": "dist/maplibre-gl.js",
"style": "dist/maplibre-gl.css",
"license": "BSD-3-Clause",
Expand Down
Loading

0 comments on commit efad8e0

Please sign in to comment.