@mapbox/mapbox-gl-style-spec 14.29.0-rc.1 → 14.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +26 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +26 -0
- package/dist/index.es.js +26 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/reference/v8.json +23 -0
- package/types.ts +6 -1
- package/validate/validate_lights.ts +3 -3
package/dist/index.cjs
CHANGED
|
@@ -8277,6 +8277,29 @@
|
|
|
8277
8277
|
]
|
|
8278
8278
|
},
|
|
8279
8279
|
"property-type": "data-constant"
|
|
8280
|
+
},
|
|
8281
|
+
"line-cutout-depth": {
|
|
8282
|
+
type: "number",
|
|
8283
|
+
"default": 0,
|
|
8284
|
+
minimum: 0,
|
|
8285
|
+
units: "meters",
|
|
8286
|
+
doc: "Depth offset along the camera, in meters. When set to a non-zero value, applied cutout opacity is 0.",
|
|
8287
|
+
experimental: true,
|
|
8288
|
+
"private": true,
|
|
8289
|
+
transition: true,
|
|
8290
|
+
"sdk-support": {
|
|
8291
|
+
"basic functionality": {
|
|
8292
|
+
android: "11.29.0",
|
|
8293
|
+
ios: "11.29.0"
|
|
8294
|
+
}
|
|
8295
|
+
},
|
|
8296
|
+
expression: {
|
|
8297
|
+
interpolated: true,
|
|
8298
|
+
parameters: [
|
|
8299
|
+
"zoom"
|
|
8300
|
+
]
|
|
8301
|
+
},
|
|
8302
|
+
"property-type": "data-constant"
|
|
8280
8303
|
}
|
|
8281
8304
|
};
|
|
8282
8305
|
var paint_circle = {
|
|
@@ -20696,7 +20719,7 @@ Use an identity property function instead: ${example}.`
|
|
|
20696
20719
|
const useThemeMatch = propertyKey.match(USE_THEME_KEY_RE);
|
|
20697
20720
|
if (useThemeMatch && lightPropertySpec[useThemeMatch[1]]) {
|
|
20698
20721
|
errors = errors.concat(validate({
|
|
20699
|
-
key:
|
|
20722
|
+
key: propertyKey,
|
|
20700
20723
|
value: properties[propertyKey],
|
|
20701
20724
|
valueSpec: { type: "string" },
|
|
20702
20725
|
style,
|
|
@@ -20704,8 +20727,8 @@ Use an identity property function instead: ${example}.`
|
|
|
20704
20727
|
}));
|
|
20705
20728
|
} else if (transitionMatch && lightPropertySpec[transitionMatch[1]] && lightPropertySpec[transitionMatch[1]].transition) {
|
|
20706
20729
|
errors = errors.concat(validate({
|
|
20707
|
-
key:
|
|
20708
|
-
value:
|
|
20730
|
+
key: propertyKey,
|
|
20731
|
+
value: properties[propertyKey],
|
|
20709
20732
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
20710
20733
|
valueSpec: styleSpec.transition,
|
|
20711
20734
|
style,
|