Merge branch 'master' into matchingbrackets_addon

This commit is contained in:
Orange Mug 2020-01-19 08:29:25 +00:00 committed by GitHub
commit 49dba02e8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 42 deletions

View file

@ -50,11 +50,6 @@ templates:
path: /tmp/artifacts
destination: /artifacts
jobs:
build-linux-node-v8:
docker:
- image: node:8
working_directory: ~/repo-linux-node-v8
steps: *build-steps
build-linux-node-v10:
docker:
- image: node:10
@ -71,14 +66,6 @@ jobs:
- image: node:13
working_directory: ~/repo-linux-node-v13
steps: *build-steps
build-osx-node-v8:
macos:
xcode: "9.0"
dependencies:
override:
- brew install node@8
working_directory: ~/repo-osx-node-v8
steps: *build-steps
build-osx-node-v10:
macos:
xcode: "9.0"
@ -108,11 +95,9 @@ workflows:
version: 2
build:
jobs:
- build-linux-node-v8
- build-linux-node-v10
- build-linux-node-v12
- build-linux-node-v13
- build-osx-node-v8
- build-osx-node-v10
- build-osx-node-v12
- build-osx-node-v13

View file

@ -1,7 +1,6 @@
image: Visual Studio 2015
image: Visual Studio 2019
environment:
matrix:
- nodejs_version: "8"
- nodejs_version: "10"
- nodejs_version: "12"
- nodejs_version: "13"
@ -18,7 +17,7 @@ install:
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
}
- md public
- npm --vs2015 install --global windows-build-tools
- npm install --global windows-build-tools
- npm install
build_script:
- npm run build

9
package-lock.json generated
View file

@ -9070,12 +9070,9 @@
}
},
"react-collapse": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/react-collapse/-/react-collapse-4.0.3.tgz",
"integrity": "sha512-OO4NhtEqFtz+1ma31J1B7+ezdRnzHCZiTGSSd/Pxoks9hxrZYhzFEddeYt05A/1477xTtdrwo7xEa2FLJyWGCQ==",
"requires": {
"prop-types": "^15.5.8"
}
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/react-collapse/-/react-collapse-5.0.1.tgz",
"integrity": "sha512-cN2tkxBWizhPQ2JHfe0aUSJtmMthKA17NZkTElpiQ2snQAAi1hssXZ2fv88rAPNNvG5ss4t0PbOZT0TIl9Lk3Q=="
},
"react-color": {
"version": "2.17.3",

View file

@ -48,7 +48,7 @@
"react-aria-modal": "^4.0.0",
"react-autobind": "^1.0.6",
"react-autocomplete": "^1.8.1",
"react-collapse": "^4.0.3",
"react-collapse": "^5.0.1",
"react-color": "^2.17.3",
"react-dom": "^16.10.2",
"react-file-reader-input": "^2.0.0",

View file

@ -107,18 +107,6 @@ class JSONEditor extends React.Component {
}
render() {
const codeMirrorOptions = {
mode: {name: "javascript", json: true},
tabSize: 2,
theme: 'maputnik',
viewportMargin: Infinity,
lineNumbers: true,
lint: true,
matchBrackets: true,
gutters: ["CodeMirror-lint-markers"],
scrollbarStyle: "null",
}
const style = {};
if (this.props.maxHeight) {
style.maxHeight = this.props.maxHeight;

View file

@ -124,6 +124,7 @@ export default class MapboxGlMap extends React.Component {
container: this.container,
style: this.props.mapStyle,
hash: true,
maxZoom: 24
}
const map = new MapboxGl.Map(mapOpts);

View file

@ -8,31 +8,31 @@
{
"id": "klokantech-basic",
"title": "Klokantech Basic",
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/klokantech-basic-gl-style@e142f83/style.json",
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/klokantech-basic-gl-style@v1.9/style.json",
"thumbnail": "https://maputnik.github.io/thumbnails/klokantech-basic.png"
},
{
"id": "dark-matter",
"title": "Dark Matter",
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/dark-matter-gl-style@1dcc1d3/style.json",
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/dark-matter-gl-style@v1.8/style.json",
"thumbnail": "https://maputnik.github.io/thumbnails/dark-matter.png"
},
{
"id": "positron",
"title": "Positron",
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/positron-gl-style@2877814/style.json",
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/positron-gl-style@v1.8/style.json",
"thumbnail": "https://maputnik.github.io/thumbnails/positron.png"
},
{
"id": "osm-bright",
"title": "OSM Bright",
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/osm-bright-gl-style@500e26e/style.json",
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/osm-bright-gl-style@v1.9/style.json",
"thumbnail": "https://maputnik.github.io/thumbnails/osm-bright.png"
},
{
"id": "toner-gl-style",
"title": "Toner",
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/toner-gl-style@bb49571/style.json",
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/toner-gl-style@dcb6e64/style.json",
"thumbnail": "https://maputnik.github.io/thumbnails/toner.png"
},
{

View file

@ -7,3 +7,7 @@
flex: 1;
}
}
.ReactCollapse--collapse {
transition: height 180ms;
}