mirror of
https://github.com/maputnik/editor.git
synced 2026-07-27 08:17:26 +00:00
Merge remote-tracking branch 'upstream/master' into fix/web-driver-tests-v8
Conflicts: src/styles/index.scss
This commit is contained in:
Generated
+3
-3
@@ -8025,9 +8025,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mapbox-gl-inspect": {
|
"mapbox-gl-inspect": {
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/mapbox-gl-inspect/-/mapbox-gl-inspect-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/mapbox-gl-inspect/-/mapbox-gl-inspect-1.3.1.tgz",
|
||||||
"integrity": "sha512-84qABwzuCenZz3oNF8vzqymE5dBoDhEkG5FUdPE2XFXaYabLo4lODRLReMYzeoNPn/4IJFUb9Qy3MN7lGG8CfA==",
|
"integrity": "sha512-qkcT8lcYQy2x8wn+BUb6a6YXCEIHeGKHlt01/FSf58yYEmeufuihtbCjN9of2JDQm2XeRGdDEksAH7if7tPyyg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"lodash.isequal": "4.5.0",
|
"lodash.isequal": "4.5.0",
|
||||||
"randomcolor": "0.4.4"
|
"randomcolor": "0.4.4"
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@
|
|||||||
"lodash.isequal": "^4.5.0",
|
"lodash.isequal": "^4.5.0",
|
||||||
"lodash.throttle": "^4.1.1",
|
"lodash.throttle": "^4.1.1",
|
||||||
"mapbox-gl": "^0.44.1",
|
"mapbox-gl": "^0.44.1",
|
||||||
"mapbox-gl-inspect": "^1.3.0",
|
"mapbox-gl-inspect": "^1.3.1",
|
||||||
"maputnik-design": "github:maputnik/design",
|
"maputnik-design": "github:maputnik/design",
|
||||||
"mousetrap": "^1.6.1",
|
"mousetrap": "^1.6.1",
|
||||||
"ol-mapbox-style": "^2.10.1",
|
"ol-mapbox-style": "^2.10.1",
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ class AutocompleteInput extends React.Component {
|
|||||||
>
|
>
|
||||||
<Autocomplete
|
<Autocomplete
|
||||||
menuStyle={{
|
menuStyle={{
|
||||||
position: "absolute",
|
position: "fixed",
|
||||||
overflow: "auto",
|
overflow: "auto",
|
||||||
maxHeight: this.state.maxHeight
|
maxHeight: this.state.maxHeight
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -23,7 +23,9 @@ export default class LayerEditorGroup extends React.Component {
|
|||||||
<Collapser isCollapsed={this.props.isActive} />
|
<Collapser isCollapsed={this.props.isActive} />
|
||||||
</div>
|
</div>
|
||||||
<Collapse isOpened={this.props.isActive}>
|
<Collapse isOpened={this.props.isActive}>
|
||||||
{this.props.children}
|
<div className="react-collapse-container">
|
||||||
|
{this.props.children}
|
||||||
|
</div>
|
||||||
</Collapse>
|
</Collapse>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -121,6 +121,7 @@ export default class MapboxGlMap extends React.Component {
|
|||||||
showMapPopupOnHover: false,
|
showMapPopupOnHover: false,
|
||||||
showInspectMapPopupOnHover: true,
|
showInspectMapPopupOnHover: true,
|
||||||
showInspectButton: false,
|
showInspectButton: false,
|
||||||
|
blockHoverPopupOnClick: true,
|
||||||
assignLayerColor: (layerId, alpha) => {
|
assignLayerColor: (layerId, alpha) => {
|
||||||
return Color(colors.brightColor(layerId, alpha)).desaturate(0.5).string()
|
return Color(colors.brightColor(layerId, alpha)).desaturate(0.5).string()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
// See <https://github.com/nkbt/react-collapse/commit/4f4fbce7c6c07b082dc62062338c9294c656f9df>
|
||||||
|
.react-collapse-container {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
@@ -36,6 +36,7 @@ $toolbar-offset: 0;
|
|||||||
@import 'zoomproperty';
|
@import 'zoomproperty';
|
||||||
@import 'popup';
|
@import 'popup';
|
||||||
@import 'map';
|
@import 'map';
|
||||||
|
@import 'react-collapse';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hacks for webdriverio isVisibleWithinViewport
|
* Hacks for webdriverio isVisibleWithinViewport
|
||||||
|
|||||||
Reference in New Issue
Block a user