Skip to content

Commit efad8e0

Browse files
authored
fix breaking changes to css classnames (#203)
Addresses concerns voiced in #83, #185 Resolves #199 * fix breaking changes to css classnames * bump version to 1.15.2
1 parent d709b36 commit efad8e0

20 files changed

Lines changed: 390 additions & 231 deletions

.stylelintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"declaration-block-semicolon-newline-after": "always-multi-line",
66
"block-opening-brace-space-before": "always-multi-line",
77
"declaration-block-single-line-max-declarations": 3,
8-
"selector-class-pattern": "maplibregl-[a-z-]+",
8+
"selector-class-pattern": "map(box|libre)gl-[a-z-]+",
99
"at-rule-no-unknown": [true, {
1010
"ignoreAtRules": ["svg-load"]
1111
}]

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
- *...Add new stuff here...*
1010

11+
## 1.15.2
12+
13+
### 🐞 Bug fixes
14+
- Fix breaking changes introduced in v1.15.0 by adoption dual naming scheme for CSS class names
15+
1116
## 1.15.1
1217

1318
### 🐞 Bug fixes

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If you depend on mapbox-gl directly, simply replace `mapbox-gl` with `maplibre-g
1212
}
1313
```
1414

15-
And replace ```mapboxgl``` with ```maplibregl``` in your JavaScript/HTML/CSS code:
15+
And replace ```mapboxgl``` with ```maplibregl``` in your JavaScript and optionannly in your HTML/CSS code:
1616
```diff
1717
- var map = new mapboxgl.Map({
1818
+ var map = new maplibregl.Map({

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "maplibre-gl",
33
"description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
4-
"version": "1.15.1",
4+
"version": "1.15.2",
55
"main": "dist/maplibre-gl.js",
66
"style": "dist/maplibre-gl.css",
77
"license": "BSD-3-Clause",

0 commit comments

Comments
 (0)