@mapbox/mapbox-gl-style-spec 14.15.0 → 14.16.0-beta.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 +20 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +120 -34
- package/dist/index.es.js +20 -8
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/reference/v8.json +6 -6
- package/style-spec.ts +187 -74
- package/validate/validate.ts +2 -8
- package/validate/validate_array.ts +5 -4
- package/validate/validate_enum.ts +2 -7
- package/validate/validate_layer.ts +1 -1
- package/validate/validate_number.ts +2 -4
- package/validate/validate_source.ts +1 -3
package/dist/index.cjs
CHANGED
|
@@ -3067,9 +3067,15 @@
|
|
|
3067
3067
|
0.8,
|
|
3068
3068
|
2
|
|
3069
3069
|
],
|
|
3070
|
-
doc: "
|
|
3071
|
-
minimum:
|
|
3072
|
-
|
|
3070
|
+
doc: "Limits the possible scaling range for `icon-size`, `icon-halo-width`, `icon-halo-blur` properties to be within [min-scale, max-scale]",
|
|
3071
|
+
minimum: [
|
|
3072
|
+
0.1,
|
|
3073
|
+
0.1
|
|
3074
|
+
],
|
|
3075
|
+
maximum: [
|
|
3076
|
+
10,
|
|
3077
|
+
10
|
|
3078
|
+
],
|
|
3073
3079
|
experimental: true,
|
|
3074
3080
|
"private": true,
|
|
3075
3081
|
expression: {
|
|
@@ -3583,9 +3589,15 @@
|
|
|
3583
3589
|
0.8,
|
|
3584
3590
|
2
|
|
3585
3591
|
],
|
|
3586
|
-
doc: "
|
|
3587
|
-
minimum:
|
|
3588
|
-
|
|
3592
|
+
doc: "Limits the possible scaling range for `text-size`, `text-halo-width`, `text-halo-blur` properties to be within [min-scale, max-scale]",
|
|
3593
|
+
minimum: [
|
|
3594
|
+
0.1,
|
|
3595
|
+
0.1
|
|
3596
|
+
],
|
|
3597
|
+
maximum: [
|
|
3598
|
+
10,
|
|
3599
|
+
10
|
|
3600
|
+
],
|
|
3589
3601
|
experimental: true,
|
|
3590
3602
|
"private": true,
|
|
3591
3603
|
expression: {
|
|
@@ -21958,7 +21970,6 @@ Use an identity property function instead: ${ example }.`)];
|
|
|
21958
21970
|
const validationErrors = validateArray({
|
|
21959
21971
|
key: options2.key,
|
|
21960
21972
|
value: options2.value,
|
|
21961
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
21962
21973
|
valueSpec: options2.valueSpec,
|
|
21963
21974
|
style: options2.style,
|
|
21964
21975
|
styleSpec: options2.styleSpec,
|
|
@@ -22099,7 +22110,8 @@ Use an identity property function instead: ${ example }.`)];
|
|
|
22099
22110
|
return validateEnum({
|
|
22100
22111
|
key: `${ key }.type`,
|
|
22101
22112
|
value: value.type,
|
|
22102
|
-
valueSpec: { values: getSourceTypeValues(styleSpec) }
|
|
22113
|
+
valueSpec: { values: getSourceTypeValues(styleSpec) }
|
|
22114
|
+
});
|
|
22103
22115
|
}
|
|
22104
22116
|
}
|
|
22105
22117
|
function getSourceTypeValues(styleSpec) {
|