Skip to content

Commit

Permalink
Release 3.7.0 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
nbulaj committed Oct 14, 2024
1 parent b3e6488 commit 03db1a8
Show file tree
Hide file tree
Showing 10 changed files with 87,794 additions and 78,570 deletions.
3,711 changes: 1,876 additions & 1,835 deletions app/assets/javascripts/mapbox-gl-directions.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/assets/javascripts/mapbox-gl-draw.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions app/assets/javascripts/mapbox-gl-geocoder.js

Large diffs are not rendered by default.

162,227 changes: 85,670 additions & 76,557 deletions app/assets/javascripts/mapbox-gl.js

Large diffs are not rendered by default.

40 changes: 13 additions & 27 deletions app/assets/stylesheets/mapbox-gl-draw.scss

Large diffs are not rendered by default.

36 changes: 35 additions & 1 deletion app/assets/stylesheets/mapbox-gl-geocoder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

font-size: 18px;
line-height: 24px;
font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;
font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, Helvetica, sans-serif;
position: relative;
background-color: #fff;
width: 100%;
Expand Down Expand Up @@ -172,6 +172,13 @@
fill: #909090;
}

.mapboxgl-ctrl-geocoder--icon-geolocate {
width: 22px;
height: 22px;
margin-top: 6px;
margin-right: 3px;
}

.mapboxgl-ctrl-geocoder--icon-loading {
width: 26px;
height: 26px;
Expand All @@ -182,6 +189,22 @@
animation: rotate 0.8s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.mapboxgl-ctrl-geocoder--powered-by {
display: block;
float: left;
padding: 6px 12px;
padding-bottom: 9px;
font-size: 13px;

a {
color: #909090;

&:not(:hover) {
text-decoration: none;
}
}
}

/* Animation */
@-webkit-keyframes rotate {
from {
Expand Down Expand Up @@ -236,6 +259,13 @@
margin-right: 0;
}

.mapboxgl-ctrl-geocoder--icon-geolocate {
width: 18px;
height: 18px;
margin-top: 2px;
margin-right: 0;
}

.mapboxgl-ctrl-geocoder--icon-search {
left: 7px;
width: 20px;
Expand All @@ -260,4 +290,8 @@
font-size: 16px;
text-align: center;
}

.mapboxgl-ctrl-geocoder--powered-by {
font-size: 11px !important;
}
}
331 changes: 190 additions & 141 deletions app/assets/stylesheets/mapbox-gl.scss

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/mapbox-gl/rails/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ def self.gem_version
# Follows Mapbox GL JS versioning.
module VERSION
# Major version number
MAJOR = 2
MAJOR = 3
# Minor version number
MINOR = 9
MINOR = 7
# Smallest version number
TINY = 0

Expand Down
6 changes: 3 additions & 3 deletions plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
#
plugins:
geocoder:
version: '4.7.2'
version: '5.0.3'
js: 'mapbox-gl-geocoder.min.js'
css: 'mapbox-gl-geocoder.css'
url: https://github.com/mapbox/mapbox-gl-geocoder
directions:
version: '4.1.0'
version: '4.3.1'
js: 'mapbox-gl-directions.js'
css: 'mapbox-gl-directions.css'
url: https://github.com/mapbox/mapbox-gl-directions
Expand All @@ -17,7 +17,7 @@ plugins:
css: 'mapbox-gl-compare.css'
url: https://github.com/mapbox/mapbox-gl-compare
draw:
version: '1.2.2'
version: '1.4.3'
js: 'mapbox-gl-draw.js'
css: 'mapbox-gl-draw.css'
url: https://github.com/mapbox/mapbox-gl-draw
2 changes: 1 addition & 1 deletion test/dummy/app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .scss
//= link_directory ../stylesheets .css

0 comments on commit 03db1a8

Please sign in to comment.